]> git.baikalelectronics.ru Git - kernel.git/commit
bonding: fire NETDEV_RELEASE event only on 0 slaves
authorVeaceslav Falico <vfalico@redhat.com>
Wed, 6 Mar 2013 07:10:32 +0000 (07:10 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 7 Mar 2013 21:15:18 +0000 (16:15 -0500)
commitd9db8162c58ea03f6af26196bfc0ab5b85e662cb
treec981945f06c8d6a658964961a11688444b544fca
parentac22a606455d7b5debd41b233d4e9c9c5f62e22b
bonding: fire NETDEV_RELEASE event only on 0 slaves

Currently, if we set up netconsole over bonding and release a slave,
netconsole will stop logging on the whole bonding device. Change the
behavior to stop the netconsole only when the last slave is released.

Signed-off-by: Veaceslav Falico <vfalico@redhat.com>
Acked-by: Neil Horman <nhorman@tuxdriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bonding/bond_main.c