summaryrefslogtreecommitdiffstats
path: root/net/core
diff options
context:
space:
mode:
authorChangli Gao <xiaosuo@gmail.com>2011-08-19 04:44:18 +0000
committerDavid S. Miller <davem@davemloft.net>2011-08-20 14:20:49 -0700
commit6461be3a54f802e00d5dcba3537271f92a90eaf3 (patch)
tree68adf3fef00b81226d7e0bbb5b7dddb097f967e6 /net/core
parent2e025c71ce3dbfb5ddb7f2e4bb67ac11b65f8dd2 (diff)
downloadlinux-stable-6461be3a54f802e00d5dcba3537271f92a90eaf3.tar.gz
linux-stable-6461be3a54f802e00d5dcba3537271f92a90eaf3.tar.bz2
linux-stable-6461be3a54f802e00d5dcba3537271f92a90eaf3.zip
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>
Diffstat (limited to 'net/core')
-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 edb66f3e24f1..e27334ec367a 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);