OpenVZ Forum


Home » Mailing lists » Devel » [PATCH] Copy mac_len in skb_clone() as well
[PATCH] Copy mac_len in skb_clone() as well [message #11154] Wed, 14 March 2007 13:00 Go to previous message
Alexey Dobriyan is currently offline  Alexey Dobriyan
Messages: 195
Registered: August 2006
Senior Member
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;
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: [PATCH 1/2] mm: move common segment checks to separate helper function (v6)
Next Topic: Monitoring /proc/user_beancounters via Perl Script?
Goto Forum:
  


Current Time: Sun May 26 22:22:07 GMT 2024

Total time taken to generate the page: 0.01447 seconds