]> git.baikalelectronics.ru Git - kernel.git/commit
vlan: don't call ndo_vlan_rx_register on hardware that doesn't have vlan support
authorAntoine Reversat <a.reversat@gmail.com>
Thu, 16 Jun 2011 10:47:13 +0000 (10:47 +0000)
committerDavid S. Miller <davem@conan.davemloft.net>
Fri, 17 Jun 2011 04:12:51 +0000 (00:12 -0400)
commitcf07afb8231be1252689f453fe60ecb538e10676
treef3dd770ba7325757d6a4c580e04106a9a57c8e0e
parent24ce2f73b74b0489ee6c5fafb0688649e17932a6
vlan: don't call ndo_vlan_rx_register on hardware that doesn't have vlan support

This patch removes the call to ndo_vlan_rx_register if the underlying
device doesn't have hardware support for VLAN.
Signed-off-by: Antoine Reversat <a.reversat@gmail.com>
Signed-off-by: David S. Miller <davem@conan.davemloft.net>
net/8021q/vlan.c