diff options
author | Pravin B Shelar | 2013-02-01 15:18:49 +0000 |
---|---|---|
committer | David S. Miller | 2013-02-03 16:10:36 -0500 |
commit | 92df9b217ee2392024483ba5b85a88d92d60f3c1 (patch) | |
tree | d3d18780c49fbbd6db28de7fb793b66f5942c994 /net/core | |
parent | 2e5f421211ff76c17130b4597bc06df4eeead24f (diff) |
net: Fix inner_network_header assignment in skb-copy.
Use correct inner offset to set inner_network_offset.
Found by inspection.
Signed-off-by: Pravin B Shelar <pshelar@nicira.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core')
-rw-r--r-- | net/core/skbuff.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/core/skbuff.c b/net/core/skbuff.c index a9a2ae3e2213..32443ebc3e89 100644 --- a/net/core/skbuff.c +++ b/net/core/skbuff.c @@ -683,7 +683,7 @@ static void __copy_skb_header(struct sk_buff *new, const struct sk_buff *old) new->network_header = old->network_header; new->mac_header = old->mac_header; new->inner_transport_header = old->inner_transport_header; - new->inner_network_header = old->inner_transport_header; + new->inner_network_header = old->inner_network_header; skb_dst_copy(new, old); new->rxhash = old->rxhash; new->ooo_okay = old->ooo_okay; |