]> git.baikalelectronics.ru Git - kernel.git/commit
net: 8021q: skip packets if the vlan is down
authorVishakha Narvekar <Vishakha.Narvekar@dell.com>
Tue, 3 Oct 2017 20:13:29 +0000 (16:13 -0400)
committerDavid S. Miller <davem@davemloft.net>
Thu, 5 Oct 2017 01:16:48 +0000 (18:16 -0700)
commitc1918e2b65aacf6525c55deeb7eaad3121690a27
tree11deb5a063028440de108c8779cf371469e23c37
parent6c6a450e3709ebe716abbbae2e9f7b049701afbf
net: 8021q: skip packets if the vlan is down

If the vlan is down, free the packet instead of proceeding with other
processing, or counting it as received.  If vlan interfaces are used
as slaves for bonding, with arp monitoring for connectivity, if the rx
counter is seen to be incrementing, then the bond device will not
observe that the interface is down.

CC: David S. Miller <davem@davemloft.net>
Signed-off-by: Vishakha Narvekar <Vishakha.Narvekar@dell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/8021q/vlan_core.c