Gao feng 1f85851e17 ipv6: fix incorrent ipv6 ipsec packet fragment
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>
2012-03-20 05:39:34 -04:00
..
2012-03-11 15:57:11 -07:00
2011-11-22 16:43:32 -05:00
2012-02-13 00:45:38 -05:00
2011-11-22 16:43:32 -05:00
2011-11-22 16:43:32 -05:00
2011-11-22 16:43:32 -05:00
2010-05-11 14:40:55 +02:00
2011-11-22 16:43:32 -05:00
2012-01-17 23:56:18 -05:00
2012-01-30 12:58:51 -05:00
2012-01-26 15:23:21 -05:00
2011-11-22 16:43:32 -05:00
2010-10-25 13:09:45 -07:00
2011-11-22 16:43:32 -05:00
2011-11-22 16:43:32 -05:00