net: Fix inner_network_header assignment in skb-copy.
authorPravin B Shelar <pshelar@nicira.com>
Fri, 1 Feb 2013 15:18:49 +0000 (15:18 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 3 Feb 2013 21:10:36 +0000 (16:10 -0500)
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>
net/core/skbuff.c

index a9a2ae3..32443eb 100644 (file)
@@ -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;