net: pass correct parameter to skb_headers_offset_update()
authorPeter Pan(潘卫平) <panweiping3@gmail.com>
Thu, 6 Jun 2013 13:27:21 +0000 (21:27 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 11 Jun 2013 09:48:06 +0000 (02:48 -0700)
Since commit 1a37e412a022(net: Use 16bits for *_headers fields of struct
skbuff), skb->*_header are relative to skb->head,
so copy_skb_header() should not call skb_headers_offset_update() now,
and we should pass correct parameter to skb_headers_offset_update() in
pskb_expand_head() and skb_copy_expand().

Signed-off-by: Weiping Pan <panweiping3@gmail.com>
Reviewed-by: Simon Horman <horms@verge.net.au>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found