summaryrefslogtreecommitdiffstats
path: root/net/ipv6/ah6.c
diff options
context:
space:
mode:
authorBenjamin Poirier <bpoirier@suse.de>2012-05-24 13:32:38 +0200
committerDavid S. Miller <davem@davemloft.net>2012-05-27 07:08:29 +0200
commit91657eafb64b4cb53ec3a2fbc4afc3497f735788 (patch)
treef56665f166dc09e0a2969ee17adb745c5fc89459 /net/ipv6/ah6.c
parentnet/wanrouter: Deprecate and schedule for removal (diff)
downloadlinux-91657eafb64b4cb53ec3a2fbc4afc3497f735788.tar.xz
linux-91657eafb64b4cb53ec3a2fbc4afc3497f735788.zip
xfrm: take net hdr len into account for esp payload size calculation
Corrects the function that determines the esp payload size. The calculations done in esp{4,6}_get_mtu() lead to overlength frames in transport mode for certain mtu values and suboptimal frames for others. According to what is done, mainly in esp{,6}_output() and tcp_mtu_to_mss(), net_header_len must be taken into account before doing the alignment calculation. Signed-off-by: Benjamin Poirier <bpoirier@suse.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/ah6.c')
0 files changed, 0 insertions, 0 deletions