[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180227202212.GA14835@splinter>
Date: Tue, 27 Feb 2018 22:22:12 +0200
From: Ido Schimmel <idosch@...sch.org>
To: Jiri Benc <jbenc@...hat.com>
Cc: Ido Schimmel <idosch@...lanox.com>, netdev@...r.kernel.org,
davem@...emloft.net, jiri@...lanox.com, dsahern@...il.com,
mlxsw@...lanox.com
Subject: Re: [PATCH net-next] team: Use extack to report enslavement failures
On Tue, Feb 27, 2018 at 08:42:35PM +0100, Jiri Benc wrote:
> On Tue, 27 Feb 2018 17:38:08 +0200, Ido Schimmel wrote:
> > if (port_dev->flags & IFF_LOOPBACK) {
> > + NL_SET_ERR_MSG(extack, "Loopback device can't be added as a team port");
> > netdev_err(dev, "Device %s is loopback device. Loopback devices can't be added as a team port\n",
> > portname);
>
> Aren't the netdev_errs unnecessary now?
>
> Or do you keep them for people using old config tools with a new kernel?
Yes, that's the intention. I checked bond that was also converted to use
extack and the same thing happens there.
> If so, for how long? They should certainly be removed eventually. How
> do we ensure we don't forget?
>
> Seems to me it would be better to remove them right now.
I can do that unless someone objects.
Powered by blists - more mailing lists