]> git.baikalelectronics.ru Git - kernel.git/commit
net: cleanup vlan_features setting in register_netdev
authorMichał Mirosław <mirq-linux@rere.qmqm.pl>
Thu, 14 Jul 2011 21:41:11 +0000 (14:41 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 14 Jul 2011 21:41:11 +0000 (14:41 -0700)
commitae30be9c7a954509453aa08d2c62ca58eab6679e
treecae7c3f14d626d92f4dc69a6418d8225fe18f58c
parent32678d14e884ee576de31ababdb278b7da7319de
net: cleanup vlan_features setting in register_netdev

vlan_features contains features inherited from underlying device.
NETIF_SOFT_FEATURES are not inherited but belong to the vlan device
itself (ensured in vlan_dev_fix_features()).

Signed-off-by: Michał Mirosław <mirq-linux@rere.qmqm.pl>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/dev.c