Files
linux/net
Benjamin Poirier 570986003b xfrm: take net hdr len into account for esp payload size calculation
[ Upstream commit 91657eafb6 ]

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-06-10 00:33:03 +09:00
..
2011-05-23 16:29:24 -04:00
2011-11-11 09:36:45 -08:00
2011-07-19 11:25:04 -07:00
2011-05-24 01:13:12 -04:00
2012-04-02 09:27:21 -07:00
2012-05-21 09:39:59 -07:00
2011-05-24 01:13:12 -04:00
2012-06-10 00:33:02 +09:00
2011-05-05 11:10:14 -07:00
2011-04-29 10:20:53 -07:00