]> git.baikalelectronics.ru Git - kernel.git/commit
bonding: handle case of device named bonding_master
authorStephen Hemminger <shemminger@vyatta.com>
Thu, 15 May 2008 05:35:04 +0000 (22:35 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 15 May 2008 05:35:04 +0000 (22:35 -0700)
commit266aad8df92b5a9ba9607ca103f9d24869092c6d
treef5a2b3b4cd26abefead85a723dc9e64494bf9e13
parenta3728feef2cd01b624e3f1d7599a46980c008efa
bonding: handle case of device named bonding_master

If device already exists named bonding_masters, then fail. This is a wierd
corner case only a QA group could love.

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bonding/bond_sysfs.c