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:
afdf27c
)
[VLAN] vlan_dev: Use skb_reset_network_header().
author
David S. Miller
<davem@sunset.davemloft.net>
Fri, 20 Apr 2007 03:34:51 +0000
(20:34 -0700)
committer
David S. Miller
<davem@sunset.davemloft.net>
Thu, 26 Apr 2007 05:26:26 +0000
(22:26 -0700)
Signed-off-by: David S. Miller <davem@davemloft.net>
net/8021q/vlan_dev.c
patch
|
blob
|
history
diff --git
a/net/8021q/vlan_dev.c
b/net/8021q/vlan_dev.c
index 42a35bed0881d388c21fc7eb1ef433f44afa9696..7ff6b7948485b29c52765000b25e8ad8b53c2d79 100644
(file)
--- 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 */