netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Copy mac_len in skb_clone() as well
@ 2007-03-14 13:07 Alexey Dobriyan
  2007-03-15 10:02 ` David Miller
  0 siblings, 1 reply; 5+ messages in thread
From: Alexey Dobriyan @ 2007-03-14 13:07 UTC (permalink / raw)
  To: netdev; +Cc: Alexey Kuznetsov, devel

ANK says: "It is rarely used, that's wy it was not noticed.
But in the places, where it is used, it should be disaster."

Signed-off-by: Alexey Dobriyan <adobriyan@sw.ru>
---

 net/core/skbuff.c |    1 +
 1 file changed, 1 insertion(+)

--- a/net/core/skbuff.c
+++ b/net/core/skbuff.c
@@ -463,6 +463,7 @@ #endif
 	memcpy(n->cb, skb->cb, sizeof(skb->cb));
 	C(len);
 	C(data_len);
+	C(mac_len);
 	C(csum);
 	C(local_df);
 	n->cloned = 1;


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2007-03-16  1:41 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-14 13:07 [PATCH] Copy mac_len in skb_clone() as well Alexey Dobriyan
2007-03-15 10:02 ` David Miller
2007-03-15 10:33   ` [Devel] " Kirill Korotaev
2007-03-16  1:08     ` David Miller
2007-03-15 16:04   ` Alexey Kuznetsov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).