diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2015-09-04 13:21:06 +0800 |
---|---|---|
committer | Steffen Klassert <steffen.klassert@secunet.com> | 2015-09-04 09:02:59 +0200 |
commit | 93efac3f2e03321129de67a3c0ba53048bb53e31 (patch) | |
tree | 8c4656a196b9980fdf82788595c0324254b90a97 /Documentation | |
parent | 724a7636ad026a3a68f3fc626ccd04111f65cfd9 (diff) | |
download | linux-stable-93efac3f2e03321129de67a3c0ba53048bb53e31.tar.gz linux-stable-93efac3f2e03321129de67a3c0ba53048bb53e31.tar.bz2 linux-stable-93efac3f2e03321129de67a3c0ba53048bb53e31.zip |
ipv6: Fix IPsec pre-encap fragmentation check
The IPv6 IPsec pre-encap path performs fragmentation for tunnel-mode
packets. That is, we perform fragmentation pre-encap rather than
post-encap.
A check was added later to ensure that proper MTU information is
passed back for locally generated traffic. Unfortunately this
check was performed on all IPsec packets, including transport-mode
packets.
What's more, the check failed to take GSO into account.
The end result is that transport-mode GSO packets get dropped at
the check.
This patch fixes it by moving the tunnel mode check forward as well
as adding the GSO check.
Fixes: dd767856a36e ("xfrm6: Don't call icmpv6_send on local error")
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions