diff options
author | Eyal Birger <eyal.birger@gmail.com> | 2021-02-26 23:35:06 +0200 |
---|---|---|
committer | Steffen Klassert <steffen.klassert@secunet.com> | 2021-03-03 07:36:18 +0100 |
commit | 4c38255892c06b9de2fb3bf6aea63f4ebdff3d11 (patch) | |
tree | 9361bb3a86b036a994b1e3e7ce1ff297145bc752 /net/ipv4/ah4.c | |
parent | c7c1abfd6d42be8f09d390ab912cd84983000fa2 (diff) | |
download | linux-4c38255892c06b9de2fb3bf6aea63f4ebdff3d11.tar.gz linux-4c38255892c06b9de2fb3bf6aea63f4ebdff3d11.tar.bz2 linux-4c38255892c06b9de2fb3bf6aea63f4ebdff3d11.zip |
vti6: fix ipv4 pmtu check to honor ip header df
Frag needed should only be sent if the header enables DF.
This fix allows IPv4 packets larger than MTU to pass the vti6 interface
and be fragmented after encapsulation, aligning behavior with
non-vti6 xfrm.
Fixes: ccd740cbc6e0 ("vti6: Add pmtu handling to vti6_xmit.")
Signed-off-by: Eyal Birger <eyal.birger@gmail.com>
Reviewed-by: Sabrina Dubroca <sd@queasysnail.net>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Diffstat (limited to 'net/ipv4/ah4.c')
0 files changed, 0 insertions, 0 deletions