]> git.baikalelectronics.ru Git - kernel.git/commit
8021q: fix vlan device to inherit the unicast filtering capability flag
authorYi Zou <yi.zou@intel.com>
Wed, 28 Nov 2012 13:45:24 +0000 (13:45 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 30 Nov 2012 17:07:27 +0000 (12:07 -0500)
commitb58972137fc076954cb6df1d4dd8b8eda0b095d5
tree4b6dfedc0d14bff456e04c3dd78e510793fee0bc
parente73675c305ec7edc4250b9cb1e5a5536ec8b52ee
8021q: fix vlan device to inherit the unicast filtering capability flag

This bug is observed on running FCoE over a VLAN device associated w/
a real device that has IFF_UNICAST_FLT set since FCoE would add unicast
address such as FLOGI MAC to the VLAN interface that FCoE is on. Since
currently, VLAN device is not inheriting the IFF_UNICAST_FLT flag from the
parent real device even though the real device is capable of doing unicast
filtering. This forces the VLAN device and its real device go to promiscuous
mode unnecessarily even the added address is actually being added to the
available unicast filter table in real device.

Signed-off-by: Yi Zou <yi.zou@intel.com>
Cc: devel@open-fcoe.org
Signed-off-by: David S. Miller <davem@davemloft.net>
net/8021q/vlan.c