]> git.karo-electronics.de Git - linux-beck.git/commit
net: vlan: enable soft features regardless of underlying device
authorShan Wei <shanwei@cn.fujitsu.com>
Wed, 6 Jul 2011 03:43:12 +0000 (20:43 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 6 Jul 2011 03:43:12 +0000 (20:43 -0700)
commit712ae51afd55b20c04c5383d02ba5d10233313b1
treea609dc121a1c38c97346ea3bdf8f01a84fb54476
parent5318d809d7b4975ce5e5303e8508f89a5458c2b6
net: vlan: enable soft features regardless of underlying device

If gso/gro feature of underlying device is turned off,
then new created vlan device never can turn gso/gro on.

Although underlying device don't support TSO, we still
should use software segments for vlan device.

Signed-off-by: Shan Wei <shanwei@cn.fujitsu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/8021q/vlan_dev.c