commit | 3b410a310b48a8e7de3438957635093596ad5ca5 | [log] [tgz] |
---|---|---|
author | Neil Horman <nhorman@tuxdriver.com> | Wed Oct 13 16:01:52 2010 +0000 |
committer | David S. Miller <davem@davemloft.net> | Mon Oct 18 08:32:08 2010 -0700 |
tree | 494176f29fb9bb1a6126319a843403a9e850f73e | |
parent | 990c3d6f9c4115347659fc2b163907c8c832ae44 [diff] |
bonding: Fix netconsole to not deadlock on rmmod Netconsole calls netpoll_cleanup on receipt of a NETDEVICE_UNREGISTER event. The notifier subsystem calls these event handlers with rtnl_lock held, which netpoll_cleanup also takes, resulting in deadlock. Fix this by calling the __netpoll_cleanup interior function instead, and fixing up the additional pointers. Signed-off-by: Neil Horman <nhorman@tuxdriver.com> Signed-off-by: David S. Miller <davem@davemloft.net>