From: Eric W. Biederman Date: Wed, 13 May 2009 17:01:51 +0000 (+0000) Subject: net: Fix ipoib rtnl_lock sysfs deadlock. X-Git-Tag: v2.6.31-rc1~330^2~363 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=26574401fef6766f6c3ca25b5c13febe662d2a32;p=pandora-kernel.git net: Fix ipoib rtnl_lock sysfs deadlock. Network device sysfs files that grab the rtnl_lock unconditionally will deadlock if accessed when the network device is being unregistered. So use trylock and syscall_restart to avoid this deadlock. Signed-off-by: Eric W. Biederman Signed-off-by: David S. Miller --- Reading git-diff-tree failed