[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20100308.121632.232613075.davem@davemloft.net>
Date: Mon, 08 Mar 2010 12:16:32 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: shemminger@...ux-foundation.org
Cc: jpirko@...hat.com, netdev@...r.kernel.org, fubar@...ibm.com,
bonding-devel@...ts.sourceforge.net
Subject: Re: [net-next-2.6 PATCH] bonding: refuse to change bond type if
it's used
From: Stephen Hemminger <shemminger@...ux-foundation.org>
Date: Mon, 8 Mar 2010 10:24:48 -0800
> 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.
Agreed.
--
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