From: Neil Horman Date: Wed, 13 Oct 2010 16:01:52 +0000 (+0000) Subject: bonding: Fix netconsole to not deadlock on rmmod X-Git-Tag: v2.6.37-rc1~147^2~89 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3b410a310b48a8e7de3438957635093596ad5ca5;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed