Home
last modified time | relevance | path

Searched hist:"33 f99dc7fd948bbc808a24a0989c167f8973b643" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/net/ipv4/
H A Dip_output.cdiff 33f99dc7fd948bbc808a24a0989c167f8973b643 Tue Jun 21 20:04:37 CDT 2011 Steffen Klassert <steffen.klassert@secunet.com> ipv4: Fix packet size calculation in __ip_append_data

Git commit 59104f06 (ip: take care of last fragment in ip_append_data)
added a check to see if we exceed the mtu when we add trailer_len.
However, the mtu is already subtracted by the trailer length when the
xfrm transfomation bundles are set up. So IPsec packets with mtu
size get fragmented, or if the DF bit is set the packets will not
be send even though they match the mtu perfectly fine. This patch
actually reverts commit 59104f06.

Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Signed-off-by: David S. Miller <davem@davemloft.net>