[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20150320.163845.164991966900600650.davem@davemloft.net>
Date: Fri, 20 Mar 2015 16:38:45 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: adobriyan@...il.com
Cc: vfalico@...il.com, andy@...yhouse.net, netdev@...r.kernel.org,
jay.vosburgh@...onical.com
Subject: Re: [PATCH v2] bonding: ban stacked bonding support
From: Alexey Dobriyan <adobriyan@...il.com>
Date: Fri, 20 Mar 2015 20:46:38 +0300
> If you add bonding master as a slave, and then release it,
> it will no longer be an IFF_BONDING creating problems like described at
> https://bugzilla.kernel.org/show_bug.cgi?id=89541
>
> echo +bond1 >/sys/class/net/bonding_masters
> echo 1 >/sys/class/net/bond1/bonding/mode
> echo +bond2 >/sys/class/net/bonding_masters
> echo +bond2 >/sys/class/net/bond1/bonding/slaves
> echo -bond2 >/sys/class/net/bond1/bonding/slaves
> echo -bond2 >/sys/class/net/bonding_masters
>
> cat /proc/net/bonding/bond2 # should not exist
> [oops]
>
> Signed-off-by: Alexey Dobriyan <adobriyan@...il.com>
I feel like this has been brought up before and it was stated that
some people are actually using things like this.
I could be mistaken.
--
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