net: Preserve ooo_okay when copying skb header
authorChangli Gao <xiaosuo@gmail.com>
Fri, 19 Aug 2011 04:44:18 +0000 (04:44 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 20 Aug 2011 21:20:49 +0000 (14:20 -0700)
Signed-off-by: Changli Gao <xiaosuo@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/skbuff.c

index edb66f3e24f15243b51e27814c61a38524927e65..e27334ec367a59a7341fe3083c0764490dd8ce98 100644 (file)
@@ -529,6 +529,7 @@ static void __copy_skb_header(struct sk_buff *new, const struct sk_buff *old)
        new->mac_header         = old->mac_header;
        skb_dst_copy(new, old);
        new->rxhash             = old->rxhash;
+       new->ooo_okay           = old->ooo_okay;
        new->l4_rxhash          = old->l4_rxhash;
 #ifdef CONFIG_XFRM
        new->sp                 = secpath_get(old->sp);