diff options
author | Steffen Klassert <steffen.klassert@secunet.com> | 2011-06-22 01:05:37 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-06-27 20:34:26 -0700 |
commit | 353e5c9abd900de3d1a40925386ffe4abf76111e (patch) | |
tree | 0aeb8a65afb48fb4011d4ee4aa243288d24c8daf /drivers | |
parent | 33f99dc7fd948bbc808a24a0989c167f8973b643 (diff) | |
download | linux-stable-353e5c9abd900de3d1a40925386ffe4abf76111e.tar.gz linux-stable-353e5c9abd900de3d1a40925386ffe4abf76111e.tar.bz2 linux-stable-353e5c9abd900de3d1a40925386ffe4abf76111e.zip |
ipv4: Fix IPsec slowpath fragmentation problem
ip_append_data() builds packets based on the mtu from dst_mtu(rt->dst.path).
On IPsec the effective mtu is lower because we need to add the protocol
headers and trailers later when we do the IPsec transformations. So after
the IPsec transformations the packet might be too big, which leads to a
slowpath fragmentation then. This patch fixes this by building the packets
based on the lower IPsec mtu from dst_mtu(&rt->dst) and adapts the exthdr
handling to this.
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions