commit | 26574401fef6766f6c3ca25b5c13febe662d2a32 | [log] [tgz] |
---|---|---|
author | Eric W. Biederman <ebiederm@xmission.com> | Wed May 13 17:01:51 2009 +0000 |
committer | David S. Miller <davem@davemloft.net> | Mon May 18 22:15:59 2009 -0700 |
tree | f3ef9fe491dbdece50d77ccc56bb797727b91375 | |
parent | af38f2989572704a846a5577b5ab3b1e2885cbfb [diff] |
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 <ebiederm@aristanetworks.com> Signed-off-by: David S. Miller <davem@davemloft.net>