mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 12:52:44 +01:00
254f16e81f
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. |
||
---|---|---|
.. | ||
application_layer | ||
link_layer | ||
netapi | ||
netif | ||
netreg | ||
nettest | ||
network_layer | ||
pkt | ||
pktbuf | ||
pktbuf_malloc | ||
pktbuf_static | ||
pktdump | ||
priority_pktqueue | ||
routing/rpl | ||
sock | ||
transport_layer | ||
Makefile |