summaryrefslogtreecommitdiffstats
path: root/net/ipv4/xfrm4_output.c
diff options
context:
space:
mode:
authorSteffen Klassert2011-06-30 01:19:32 +0200
committerDavid S. Miller2011-07-02 02:33:19 +0200
commitc146066ab80267c3305de5dda6a4083f06df9265 (patch)
tree2eda84544f43e8ec2e6051af36b9cc90a4171c9b /net/ipv4/xfrm4_output.c
parentxfrm: Remove family arg from xfrm_bundle_ok (diff)
downloadkernel-qcow2-linux-c146066ab80267c3305de5dda6a4083f06df9265.tar.gz
kernel-qcow2-linux-c146066ab80267c3305de5dda6a4083f06df9265.tar.xz
kernel-qcow2-linux-c146066ab80267c3305de5dda6a4083f06df9265.zip
ipv4: Don't use ufo handling on later transformed packets
We might call ip_ufo_append_data() for packets that will be IPsec transformed later. This function should be used just for real udp packets. So we check for rt->dst.header_len which is only nonzero on IPsec handling and call ip_ufo_append_data() just if rt->dst.header_len is zero. Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/xfrm4_output.c')
0 files changed, 0 insertions, 0 deletions