]> git.baikalelectronics.ru Git - kernel.git/commit
bonding: Turn on IFF_UNICAST_FLT on bond devices
authorVlad Yasevich <vyasevic@redhat.com>
Wed, 4 Jun 2014 20:23:36 +0000 (16:23 -0400)
committerDavid S. Miller <davem@davemloft.net>
Wed, 4 Jun 2014 22:13:54 +0000 (15:13 -0700)
commitccb155d302e24538d42479f4d46213bd709d3715
tree3fdb2f79f69bdf53a65f9224cddc1234f4418357
parent32fe338d6e27000869d82303e89ac9e09e2569bd
bonding: Turn on IFF_UNICAST_FLT on bond devices

Bonding devices manage the unicast filters of the underlying
interfaces, but do not turn on IFF_UNICAST_FLT flag.  Thus
anytime a unicast address is added to the bond, the bond is
places in promiscuous mode.

Turn on IFF_UNICAST_FLT on the bond device so that the bond does
not go into promiscuous mode needlesly.  If an underlying device
does not support unicast filtering, that device will automaticall
enter promiscuous mode already.

Signed-off-by: Vlad Yasevich <vyasevic@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bonding/bond_main.c