When resending data, we need to always check pending status first. If the pending check returns an "expired" status, avoid sending the data to L2 network driver entirely. This change fixes a use after free issue, where the L2 network driver was still handling a packet that was expired out from under it when the pending status was checked. Signed-off-by: Michael Scott <mike@foundries.io> |
||
|---|---|---|
| .. | ||
| app | ||
| coap | ||
| coap_sock | ||
| config | ||
| dns | ||
| http | ||
| lwm2m | ||
| mqtt | ||
| mqtt_sock | ||
| openthread | ||
| sntp | ||
| sockets | ||
| tls_credentials | ||
| websocket | ||
| CMakeLists.txt | ||
| Kconfig | ||