Re: [PATCH net] team: set slave to promisc if team is already in promisc mode

2019-04-04 Thread Marcelo Ricardo Leitner
On Thu, Apr 04, 2019 at 08:47:02PM +0800, Hangbin Liu wrote: > 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

[PATCH net] team: set slave to promisc if team is already in promisc mode

2019-04-04 Thread Hangbin Liu
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. Fixes: 3d249d4ca7d0 ("net: intr