Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=3e6b3b2e34ac2c72fa05b5e4b20bd88d64c298dc
Commit:     3e6b3b2e34ac2c72fa05b5e4b20bd88d64c298dc
Parent:     d5cc4a73a5b5c8374b810d5371e9e7ed05c1e02c
Author:     Alexey Dobriyan <[EMAIL PROTECTED]>
AuthorDate: Fri Mar 16 15:00:46 2007 -0700
Committer:  David S. Miller <[EMAIL PROTECTED]>
CommitDate: Fri Mar 16 15:00:46 2007 -0700

    [NET]: Copy mac_len in skb_clone() as well
    
    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 <[EMAIL PROTECTED]>
    Signed-off-by: David S. Miller <[EMAIL PROTECTED]>
---
 net/core/skbuff.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/net/core/skbuff.c b/net/core/skbuff.c
index 820761f..702fa8f 100644
--- 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;
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to