]> git.baikalelectronics.ru Git - kernel.git/commit
bonding: prevent netpoll over bonded interfaces
authorAndy Gospodarek <andy@greyhouse.net>
Fri, 25 Jun 2010 09:50:44 +0000 (09:50 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 29 Jun 2010 06:54:10 +0000 (23:54 -0700)
commitb6c4e854f77e32ecd7b5a4f2c2c465abdc55eed6
tree63af10f1115dfdc5ec0c08765ba342b62809d808
parent74c37b28a93c518896b5950ba1dd8e9cff5aa0d8
bonding: prevent netpoll over bonded interfaces

Support for netpoll over bonded interfaces was added here:

commit d45c761ed79595a49be4dd18321abdcfbad39b5f
Author: WANG Cong <amwang@redhat.com>
Date:   Thu May 6 00:48:51 2010 -0700

    bonding: make bonding support netpoll

but it is bad enough that we should probably just disable netpoll over
bonding until some of the locking logic in the bonding driver is changed
or converted completely to RCU.  Simple actions like changing the active
slave in active-backup mode will hang the box if a high enough printk
debugging level is enabled.

Keeping the old code around will be good for anyone that wants to work
on it (and for after the RCU conversion), so I propose this small patch
rather than ripping it all out.

Signed-off-by: Andy Gospodarek <andy@greyhouse.net>
Signed-off-by: Jay Vosburgh <fubar@us.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bonding/bond_main.c