[PATCH net-next] net: reserve ooo_okay when copying skb header

Subsystems: networking [general], the rest

STALE5538d

2 messages, 2 authors, 2011-08-20 · open the first message on its own page

[PATCH net-next] net: reserve ooo_okay when copying skb header

From: Changli Gao <hidden>
Date: 2011-08-19 14:45:19

Signed-off-by: Changli Gao <redacted>
---
 net/core/skbuff.c |    1 +
 1 file changed, 1 insertion(+)
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);

Re: [PATCH net-next] net: reserve ooo_okay when copying skb header

From: David Miller <davem@davemloft.net>
Date: 2011-08-20 21:21:27

From: Changli Gao <redacted>
Date: Fri, 19 Aug 2011 22:44:18 +0800
Signed-off-by: Changli Gao <redacted>
I think you meant "preserve" not "reserve" :-)

I fixed this up and applied your patch, thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help