Closing a listening socket will set the accept callback to NULL. This could lead to a crash, in case an already received packet, finalizing the connection handshake, was processed after the socket was closed. Thereby, it's needed to verify if the callback is actually set before processing it. Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no> |
||
|---|---|---|
| .. | ||
| ip | ||
| l2 | ||
| lib | ||
| pkt_filter | ||
| buf.c | ||
| CMakeLists.txt | ||
| hostname.c | ||
| Kconfig | ||
| Kconfig.hostname | ||
| Kconfig.template.log_config.default.net | ||
| Kconfig.template.log_config.net | ||