diff options
author | Peter Oskolkov <posk@google.com> | 2019-04-23 10:25:32 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-04-27 09:36:33 +0200 |
commit | 684685326ab0cf8d71ae83ff614c748876f24938 (patch) | |
tree | 2a68d3ad3fa95d7c766ce4695d76cea105da7669 /arch/arm/mach-omap2/control.c | |
parent | 702ddf862d9d74e670849df659b8706fd6878205 (diff) | |
download | linux-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 'arch/arm/mach-omap2/control.c')
0 files changed, 0 insertions, 0 deletions