]> Git Repo - linux.git/commit
net: IP6 defrag: use rbtrees for IPv6 defrag
authorPeter Oskolkov <[email protected]>
Tue, 22 Jan 2019 18:02:51 +0000 (10:02 -0800)
committerDavid S. Miller <[email protected]>
Sat, 26 Jan 2019 05:37:11 +0000 (21:37 -0800)
commitd4289fcc9b16b89619ee1c54f829e05e56de8b9a
treec49e51dc6fb2121bdfb57e250f7962f1dae1b43a
parentc23f35d19db3b36ffb9e04b08f1d91565d15f84f
net: IP6 defrag: use rbtrees for IPv6 defrag

Currently, IPv6 defragmentation code drops non-last fragments that
are smaller than 1280 bytes: see
commit 0ed4229b08c1 ("ipv6: defrag: drop non-last frags smaller than min mtu")

This behavior is not specified in IPv6 RFCs and appears to break
compatibility with some IPv6 implemenations, as reported here:
https://www.spinics.net/lists/netdev/msg543846.html

This patch re-uses common IP defragmentation queueing and reassembly
code in IPv6, removing the 1280 byte restriction.

Signed-off-by: Peter Oskolkov <[email protected]>
Reported-by: Tom Herbert <[email protected]>
Cc: Eric Dumazet <[email protected]>
Cc: Florian Westphal <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
include/net/ipv6_frag.h
net/ipv6/reassembly.c
This page took 0.04777 seconds and 4 git commands to generate.