[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20100308102448.7acfe7c0@nehalam>
Date: Mon, 8 Mar 2010 10:24:48 -0800
From: Stephen Hemminger <shemminger@...ux-foundation.org>
To: Jiri Pirko <jpirko@...hat.com>
Cc: netdev@...r.kernel.org, fubar@...ibm.com,
bonding-devel@...ts.sourceforge.net, davem@...emloft.net
Subject: Re: [net-next-2.6 PATCH] bonding: refuse to change bond type if
it's used
On Mon, 8 Mar 2010 18:54:06 +0100
Jiri Pirko <jpirko@...hat.com> wrote:
> It's not desirable to be able to change the type of net_device in bond device if
> it's in use by bridge, or vlan, or so. At the moment, there is possible for
> example to have INFINIBAND bond type in bridge (by adding bond with eth type to
> a bridge first and then enslave INFINIBAND device).
Rather than building lots of back pointer dependencies, why not
have another netdevice notifier that allows other subsystems to
see the type change and reject it if they care? That way the code
would be more modular and expandable.
--
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