projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d5cc4a7
)
[NET]: Copy mac_len in skb_clone() as well
author
Alexey Dobriyan
<adobriyan@sw.ru>
Fri, 16 Mar 2007 22:00:46 +0000
(15:00 -0700)
committer
David S. Miller
<davem@davemloft.net>
Fri, 16 Mar 2007 22:00:46 +0000
(15:00 -0700)
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>
net/core/skbuff.c
patch
|
blob
|
history
diff --git
a/net/core/skbuff.c
b/net/core/skbuff.c
index 820761f9eeef92df8929a1517e04e81779148d2c..702fa8f0874780b04ef4e2110c84f5e92985b9d5 100644
(file)
--- a/
net/core/skbuff.c
+++ b/
net/core/skbuff.c
@@
-463,6
+463,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;