1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/sys/net/gnrc/network_layer/sixlowpan
Martine Lenders 254f16e81f gnrc_sixlowpan_frag: add asynchronous rbuf GC
While the current approach for garbage collection in the 6Lo reassembly
buffer is good for best-effort handling of
*fragmented* packets and nicely RAM saving, it has the problem that
incomplete, huge datagrams can basically DoS a node, if no further
fragmented datagram is received for a while (since the packet buffer is
full and GC is not triggered).

This change adds a asynchronous GC (utilizing the existing
functionality) to the reassembly buffer, so that even if there is no new
fragmented packet received, fragments older than `RBUF_TIMEOUT` will be
removed from the reassembly buffer, freeing up the otherwise wasted
packet buffer space.
2018-07-03 10:25:25 +02:00
..
ctx sys: net: adapt to compile-checked debug messages 2018-01-15 14:37:04 +01:00
frag gnrc_sixlowpan_frag: add asynchronous rbuf GC 2018-07-03 10:25:25 +02:00
iphc make: fix various compile errors with Wextra 2017-11-28 18:31:43 +01:00
nd gnrc_ndp2: rename to gnrc_ndp 2017-11-17 10:41:54 +01:00
gnrc_sixlowpan.c gnrc_sixlowpan_frag: add asynchronous rbuf GC 2018-07-03 10:25:25 +02:00
Makefile gnrc: make all gnrc modules sub-modules of gnrc 2015-08-18 23:00:07 +02:00