summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChangli Gao <xiaosuo@gmail.com>2011-08-19 04:44:18 (GMT)
committerDavid S. Miller <davem@davemloft.net>2011-08-20 21:20:49 (GMT)
commit6461be3a54f802e00d5dcba3537271f92a90eaf3 (patch)
tree68adf3fef00b81226d7e0bbb5b7dddb097f967e6
parent2e025c71ce3dbfb5ddb7f2e4bb67ac11b65f8dd2 (diff)
downloadlinux-6461be3a54f802e00d5dcba3537271f92a90eaf3.tar.xz
net: Preserve ooo_okay when copying skb header
Signed-off-by: Changli Gao <xiaosuo@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--net/core/skbuff.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/core/skbuff.c b/net/core/skbuff.c
index edb66f3..e27334e 100644
--- a/net/core/skbuff.c
+++ b/net/core/skbuff.c
@@ -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);