zephyr/subsys/net
Michael Scott 4c58ffb5ab net: lwm2m: dont release reply for duplicate block transfer
During normal use, a CoAP packet can be resent due to network congestion
and other causes.  During block transfer the LwM2M client checks to make
sure the block received is the one we expect and if not generates a
"duplicate" warning.  When this happened, we were releasing the reply
handler and when the correct block was received the client would
generate a "No handler" error.

To avoid releasing the reply handler too early, let's set the coap_reply
"user_data" field to an error condition (1).  Then, once the reply
processing is complete we can check the user_data field to be sure that
it's ok to release the reply handler.

Signed-off-by: Michael Scott <michael@opensourcefoundries.com>
2018-05-25 17:19:34 -04:00
..
ip net: rpl: fix null pointer dereference 2018-05-25 09:03:34 -04:00
lib net: lwm2m: dont release reply for duplicate block transfer 2018-05-25 17:19:34 -04:00
CMakeLists.txt net/ieee802154: Make RAW mode generic 2017-11-22 10:10:09 -05:00
Kconfig net: buf: Set default user data size to 4 2018-02-12 09:48:32 +02:00
Kconfig.hostname kconfig: fix more help spacing issues 2018-02-15 23:20:55 -05:00
TODO
buf.c net: buf: Support allocation of a net_buf pointing to external buffer 2018-02-13 16:46:32 +02:00
hostname.c net: hostname: Fix hostname buffer length 2018-04-26 16:31:16 +03:00