diff options
author | Haavard Skinnemoen <haavard.skinnemoen@atmel.com> | 2008-10-23 09:24:10 -0400 |
---|---|---|
committer | Haavard Skinnemoen <haavard.skinnemoen@atmel.com> | 2008-10-23 09:24:10 -0400 |
commit | d9214556b11a8d18ff588e60824c12041d30f791 (patch) | |
tree | 04ab59d13961675811a55c96fb12b2b167b72318 /net/8021q/vlan_dev.c | |
parent | 72a1419a9d4c859a3345e4b83f8ef7d599d3818c (diff) | |
parent | e82c6106b04b85879d802bbbeaed30d9b10a92e2 (diff) |
Merge branches 'boards' and 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/hskinnemoen/avr32-2.6
Diffstat (limited to 'net/8021q/vlan_dev.c')
-rw-r--r-- | net/8021q/vlan_dev.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/8021q/vlan_dev.c b/net/8021q/vlan_dev.c index 4bf014e51f8c..8883e9c8a223 100644 --- a/net/8021q/vlan_dev.c +++ b/net/8021q/vlan_dev.c | |||
@@ -48,7 +48,7 @@ static int vlan_dev_rebuild_header(struct sk_buff *skb) | |||
48 | 48 | ||
49 | switch (veth->h_vlan_encapsulated_proto) { | 49 | switch (veth->h_vlan_encapsulated_proto) { |
50 | #ifdef CONFIG_INET | 50 | #ifdef CONFIG_INET |
51 | case __constant_htons(ETH_P_IP): | 51 | case htons(ETH_P_IP): |
52 | 52 | ||
53 | /* TODO: Confirm this will work with VLAN headers... */ | 53 | /* TODO: Confirm this will work with VLAN headers... */ |
54 | return arp_find(veth->h_dest, skb); | 54 | return arp_find(veth->h_dest, skb); |
@@ -607,6 +607,7 @@ static int vlan_dev_init(struct net_device *dev) | |||
607 | (1<<__LINK_STATE_PRESENT); | 607 | (1<<__LINK_STATE_PRESENT); |
608 | 608 | ||
609 | dev->features |= real_dev->features & real_dev->vlan_features; | 609 | dev->features |= real_dev->features & real_dev->vlan_features; |
610 | dev->gso_max_size = real_dev->gso_max_size; | ||
610 | 611 | ||
611 | /* ipv6 shared card related stuff */ | 612 | /* ipv6 shared card related stuff */ |
612 | dev->dev_id = real_dev->dev_id; | 613 | dev->dev_id = real_dev->dev_id; |