Files
linux/net/ipv4
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
..
2012-02-03 09:18:54 -08:00
2011-03-12 15:08:49 -08:00
2011-08-15 18:31:39 -07:00
2011-02-01 15:35:25 -08:00
2011-05-24 01:13:12 -04:00
2012-02-29 16:34:18 -08:00
2012-03-23 11:20:51 -07:00
2011-05-17 14:16:58 -04:00
2012-03-23 11:20:51 -07:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2010-10-27 11:37:32 -07:00
2011-07-07 00:27:05 -07:00
2010-07-12 12:57:54 -07:00