summaryrefslogtreecommitdiffstats
path: root/net/ipv6/xfrm6_mode_beet.c
diff options
context:
space:
mode:
authorPeter Oskolkov <posk@google.com>2019-04-23 10:25:32 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-04-27 09:36:33 +0200
commit684685326ab0cf8d71ae83ff614c748876f24938 (patch)
tree2a68d3ad3fa95d7c766ce4695d76cea105da7669 /net/ipv6/xfrm6_mode_beet.c
parent702ddf862d9d74e670849df659b8706fd6878205 (diff)
downloadlinux-stable-684685326ab0cf8d71ae83ff614c748876f24938.tar.gz
linux-stable-684685326ab0cf8d71ae83ff614c748876f24938.tar.bz2
linux-stable-684685326ab0cf8d71ae83ff614c748876f24938.zip
net: IP6 defrag: use rbtrees for IPv6 defrag
[ Upstream commit d4289fcc9b16b89619ee1c54f829e05e56de8b9a ] 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. v2: change handling of overlaps to match that of upstream. Signed-off-by: Peter Oskolkov <posk@google.com> Reported-by: Tom Herbert <tom@herbertland.com> Cc: Eric Dumazet <edumazet@google.com> Cc: Florian Westphal <fw@strlen.de> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'net/ipv6/xfrm6_mode_beet.c')
0 files changed, 0 insertions, 0 deletions