aboutsummaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorGao feng <gaofeng@cn.fujitsu.com>2012-03-19 22:36:10 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-04-02 09:53:08 -0700
commit0cff40794bd89b8218f64f8fe058fbf67835fc2f (patch)
treea49f4096ae4e18d0db3004b2407826df6f233abc /arch
parent9ec476d98f2ee3e851549e2a926a3db9477f4807 (diff)
ipv6: fix incorrent ipv6 ipsec packet fragment
[ Upstream commit 1f85851e17b64cabd089a8a8839dddebc627948c ] Since commit 299b0767(ipv6: Fix IPsec slowpath fragmentation problem) In func ip6_append_data,after call skb_put(skb, fraglen + dst_exthdrlen) the skb->len contains dst_exthdrlen,and we don't reduce dst_exthdrlen at last This will make fraggap>0 in next "while cycle",and cause the size of skb incorrent Fix this by reserve headroom for dst_exthdrlen. Signed-off-by: Gao feng <gaofeng@cn.fujitsu.com> Acked-by: Steffen Klassert <steffen.klassert@secunet.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions