Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=be8bd86321fa7f06359d866ef61fb4d2f3e9dce9
Commit:     be8bd86321fa7f06359d866ef61fb4d2f3e9dce9
Parent:     afdf27c95629634ea40703197b6788e454d31609
Author:     David S. Miller <[EMAIL PROTECTED]>
AuthorDate: Thu Apr 19 20:34:51 2007 -0700
Committer:  David S. Miller <[EMAIL PROTECTED]>
CommitDate: Wed Apr 25 22:26:26 2007 -0700

    [VLAN] vlan_dev: Use skb_reset_network_header().
    
    Signed-off-by: David S. Miller <[EMAIL PROTECTED]>
---
 net/8021q/vlan_dev.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/net/8021q/vlan_dev.c b/net/8021q/vlan_dev.c
index 42a35be..7ff6b79 100644
--- a/net/8021q/vlan_dev.c
+++ b/net/8021q/vlan_dev.c
@@ -382,7 +382,7 @@ int vlan_dev_hard_header(struct sk_buff *skb, struct 
net_device *dev,
                }
 
                skb->protocol = htons(ETH_P_8021Q);
-               skb->nh.raw = skb->data;
+               skb_reset_network_header(skb);
        }
 
        /* Before delegating work to the lower layer, enter our MAC-address */
-
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