aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/netdevice.h
diff options
context:
space:
mode:
authorHangbin Liu <liuhangbin@gmail.com>2019-04-08 16:45:17 +0800
committerDavid S. Miller <davem@davemloft.net>2019-04-10 19:17:59 -0700
commit43c2adb9df7ddd6560fd3546d925b42cef92daa0 (patch)
tree596c23b8c596c5a485c3359826bb023db83c9ee1 /include/linux/netdevice.h
parentnet/tls: fix build without CONFIG_TLS_DEVICE (diff)
downloadlinux-dev-43c2adb9df7ddd6560fd3546d925b42cef92daa0.tar.xz
linux-dev-43c2adb9df7ddd6560fd3546d925b42cef92daa0.zip
team: set slave to promisc if team is already in promisc mode
After adding a team interface to bridge, the team interface will enter promisc mode. Then if we add a new slave to team0, the slave will keep promisc off. Fix it by setting slave to promisc on if team master is already in promisc mode, also do the same for allmulti. v2: add promisc and allmulti checking when delete ports Fixes: 3d249d4ca7d0 ("net: introduce ethernet teaming device") Signed-off-by: Hangbin Liu <liuhangbin@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/netdevice.h')
0 files changed, 0 insertions, 0 deletions