[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150320174308.GA2005@p183.telecom.by>
Date: Fri, 20 Mar 2015 20:43:09 +0300
From: Alexey Dobriyan <adobriyan@...il.com>
To: Jay Vosburgh <jay.vosburgh@...onical.com>
Cc: davem@...emloft.net, vfalico@...il.com, andy@...yhouse.net,
netdev@...r.kernel.org
Subject: Re: [PATCH] bonding: ban stacked bonding support
On Fri, Feb 20, 2015 at 03:14:00PM -0800, Jay Vosburgh wrote:
> Instead of a separate block for IFF_MASTER, the IFF_SLAVE line
> could be replaced with something like:
>
> if (netif_is_bond_slave(slave_dev) || netif_is_bond_master(slave_dev)) {
> netdev_dbg(bond_dev, "Error: Device is bond slave or master\n");
I think separate error messages are better (kernel can distinguish between
two anyway).
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists