Re: [PATCHv3 net-next 3/5] team: use common function to compute the features

Hangbin Liu <[email protected]>
Newsgroups gmane.linux.network.bridge,gmane.linux.network
Message-ID <aMIqAfT__zvr32hM@fedora>
On Wed, Sep 10, 2025 at 08:31:12AM -0700, Stanislav Fomichev wrote:
> > @@ -1976,27 +1919,16 @@ static int team_add_slave(struct net_device *dev, struct net_device *port_dev,
> >  
> >  	err = team_port_add(team, port_dev, extack);
> >  
> > -	if (!err)
> > -		netdev_change_features(dev);
> > -
> >  	return err;
> 
> do the same `return team_port_add` here as you do in team_del_slave?

Oh, thanks. I forgot this one.

Hangbin
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.