diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2009-05-13 19:00:41 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-05-19 07:15:59 +0200 |
commit | af38f2989572704a846a5577b5ab3b1e2885cbfb (patch) | |
tree | d706c0e977992c360f484399886abd0e0c33de58 /net/ipv4/xfrm4_tunnel.c | |
parent | net: Fix devinet_sysctl_forward (diff) | |
download | linux-af38f2989572704a846a5577b5ab3b1e2885cbfb.tar.xz linux-af38f2989572704a846a5577b5ab3b1e2885cbfb.zip |
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>
Diffstat (limited to 'net/ipv4/xfrm4_tunnel.c')
0 files changed, 0 insertions, 0 deletions