lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Fri, 25 Jun 2010 15:52:28 -0700
From:	Jay Vosburgh <>
To:	Andi Kleen <>
cc:	Andy Gospodarek <>,,
Subject: Re: [PATCH 2.6.35] bonding: prevent netpoll over bonded interfaces

Andi Kleen <> wrote:

>Andy Gospodarek <> writes:
>> Support for netpoll over bonded interfaces was added here:
>> 	commit f6dc31a85cd46a959bdd987adad14c3b645e03c1
>> 	Author: WANG Cong <>
>> 	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.
>Normally you just need to prevent the printks when called from poll
>context. That's not rocket science.

	The problem with bonding is that its own printks will come back
into bonding via netpoll and deadlock in various ways.  Without re-doing
the locking, the fix would really be to make every printk in bonding
happen without holding any locks.  Converting the driver to RCU is
probably the only way to resolve this, and that's at least verging on
rocket science.

	I'm in favor of the patch; netpoll over bonding is sufficiently
unstable that I'm comfortable requiring that it be explicitly enabled by
the user.  I'd also be comfortable with a patch that removes netpoll for
bonding, but I don't mind leaving the netpoll stuff there for use by
those who want to live dangerously.

Signed-off-by: Jay Vosburgh <>


	-Jay Vosburgh, IBM Linux Technology Center,
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to
More majordomo info at

Powered by blists - more mailing lists