diff options
author | Alexander Duyck <alexander.h.duyck@intel.com> | 2008-09-11 20:17:05 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-09-11 20:17:05 -0700 |
commit | 1ae4be22f64326a6784acd7083b9590c9f4215a2 (patch) | |
tree | 748a01af8b303d5f7d9f01234572a5fd10417495 /net/8021q/vlan.c | |
parent | 1f07553a58c65741d6d125621123ecf9093fa0e3 (diff) | |
download | linux-1ae4be22f64326a6784acd7083b9590c9f4215a2.tar.gz linux-1ae4be22f64326a6784acd7083b9590c9f4215a2.tar.bz2 linux-1ae4be22f64326a6784acd7083b9590c9f4215a2.zip |
vlan: vlan device not reading gso max size of parent.
The vlan devices are not reading the gso max size of the parent device. As
a result devices that do not support 64K max gso size are currently
failing.
This issue is seen on 2.6.26 kernels as well and the same patch should be
able to be applied without any issues.
Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/8021q/vlan.c')
-rw-r--r-- | net/8021q/vlan.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/8021q/vlan.c b/net/8021q/vlan.c index b661f47bf10a..f0e335aa20df 100644 --- a/net/8021q/vlan.c +++ b/net/8021q/vlan.c @@ -394,6 +394,7 @@ static void vlan_transfer_features(struct net_device *dev, vlandev->features &= ~dev->vlan_features; vlandev->features |= dev->features & dev->vlan_features; + vlandev->gso_max_size = dev->gso_max_size; if (old_features != vlandev->features) netdev_features_change(vlandev); |