Home
last modified time | relevance | path

Searched hist:af38f2989572704a846a5577b5ab3b1e2885cbfb (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/net/bridge/
H A Dbr_sysfs_if.cdiff af38f2989572704a846a5577b5ab3b1e2885cbfb Wed May 13 12:00:41 CDT 2009 Eric W. Biederman <ebiederm@xmission.com> 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>
H A Dbr_sysfs_br.cdiff af38f2989572704a846a5577b5ab3b1e2885cbfb Wed May 13 12:00:41 CDT 2009 Eric W. Biederman <ebiederm@xmission.com> 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>