]> git.baikalelectronics.ru Git - kernel.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)
commit077a7d23d7a4463cc453c30c69bc63b4dde97a6b
treea609dc121a1c38c97346ea3bdf8f01a84fb54476
parent201035c08d1230c5f242a03eade0eeff1cd1a3f2
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