commit | af38f2989572704a846a5577b5ab3b1e2885cbfb | [log] [tgz] |
---|---|---|
author | Eric W. Biederman <ebiederm@xmission.com> | Wed May 13 17:00:41 2009 +0000 |
committer | David S. Miller <davem@davemloft.net> | Mon May 18 22:15:59 2009 -0700 |
tree | d706c0e977992c360f484399886abd0e0c33de58 | |
parent | 9b8adb5ea005fe73acd5dd58f9bd47eafa74c9d1 [diff] |
net: Fix bridgeing sysfs handling of rtnl_lock Holding rtnl_lock when we are unregistering the sysfs files can deadlock if we unconditionally take rtnl_lock in a sysfs file. So fix it with the now familiar patter of: rtnl_trylock and syscall_restart() Signed-off-by: Eric W. Biederman <ebiederm@aristanetworks.com> Signed-off-by: David S. Miller <davem@davemloft.net>