diff options
author | Zhang Shengju <zhangshengju@cmss.chinamobile.com> | 2016-02-18 10:00:11 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-02-21 21:54:05 -0500 |
commit | e817af27e01f9294055a441d1034bbc353ee39d2 (patch) | |
tree | 7c209b4685df3ec5fbbf1f78c1f658c0e9927130 /net/8021q/vlan.h | |
parent | 80c804bfc487c6df783c258b9034b9d81c34f7a0 (diff) | |
download | linux-e817af27e01f9294055a441d1034bbc353ee39d2.tar.bz2 |
vlan: turn on unicast filtering on vlan device
Currently vlan device inherits unicast filtering flag from underlying
device. If underlying device doesn't support unicast filter, this will
put vlan device into promiscuous mode when it's stacked.
Tun on IFF_UNICAST_FLT on the vlan device in any case so that it does
not go into promiscuous mode needlessly. If underlying device does not
support unicast filtering, that device will enter promiscuous mode.
Signed-off-by: Zhang Shengju <zhangshengju@cmss.chinamobile.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/8021q/vlan.h')
0 files changed, 0 insertions, 0 deletions