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)
commitc22d7ac844f1cb9c6a5fd20f89ebadc2feef891b
tree63af10f1115dfdc5ec0c08765ba342b62809d808
parente2f5b04563786d4b7d7648868de7e941a0649372
bonding: prevent netpoll over bonded interfaces

Support for netpoll over bonded interfaces was added here:

commit f6dc31a85cd46a959bdd987adad14c3b645e03c1
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