summaryrefslogtreecommitdiffstats
path: root/net/8021q
diff options
context:
space:
mode:
authorDavid S. Miller <davem@sunset.davemloft.net>2007-04-20 05:34:51 +0200
committerDavid S. Miller <davem@sunset.davemloft.net>2007-04-26 07:26:26 +0200
commitbe8bd86321fa7f06359d866ef61fb4d2f3e9dce9 (patch)
tree9e5fb523db834f27011fd0e72f7ccc2de314f415 /net/8021q
parent[IrDA]: SMC SuperIO Chip LPC47N227 not identified properly (diff)
downloadlinux-be8bd86321fa7f06359d866ef61fb4d2f3e9dce9.tar.xz
linux-be8bd86321fa7f06359d866ef61fb4d2f3e9dce9.zip
[VLAN] vlan_dev: Use skb_reset_network_header().
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/8021q')
-rw-r--r--net/8021q/vlan_dev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/8021q/vlan_dev.c b/net/8021q/vlan_dev.c
index 42a35bed0881..7ff6b7948485 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 */