projects
/
unionfs-2.6.39.y.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
202e363
)
[NET]: Copy mac_len in skb_clone() as well
author
Alexey Dobriyan
<adobriyan@sw.ru>
Tue, 20 Mar 2007 22:24:20 +0000
(23:24 +0100)
committer
Adrian Bunk
<bunk@stusta.de>
Tue, 20 Mar 2007 22:24:20 +0000
(23:24 +0100)
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>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
net/core/skbuff.c
patch
|
blob
|
history
diff --git
a/net/core/skbuff.c
b/net/core/skbuff.c
index a26b2348bc9bce70bf69b094361cd8d2bcb0f975..890512eb66ce1834824170a3bf74cf3b4e0ada94 100644
(file)
--- a/
net/core/skbuff.c
+++ b/
net/core/skbuff.c
@@
-410,6
+410,7
@@
struct sk_buff *skb_clone(struct sk_buff *skb, gfp_t gfp_mask)
memcpy(n->cb, skb->cb, sizeof(skb->cb));
C(len);
C(data_len);
+ C(mac_len);
C(csum);
C(local_df);
n->cloned = 1;