aboutsummaryrefslogtreecommitdiff
path: root/fs/devpts
diff options
context:
space:
mode:
authorJohannes Berg2013-06-04 19:21:08 +0200
committerJohannes Berg2013-06-04 22:22:41 +0200
commit256c90dedf538c59c70e65ba1a1340ce793c5b37 (patch)
tree9b8e1290e91ee99bfc9edc88a5e7bcf500f64e70 /fs/devpts
parent3430140ad9da9ec1caaf800af6b0378351919f9c (diff)
cfg80211: fix potential deadlock regression
My big locking cleanups caused a problem by registering the rfkill instance with the RTNL held, while the callback also acquires the RTNL. This potentially causes a deadlock since the two locks used (rfkill mutex and RTNL) can be acquired in two different orders. Fix this by (un)registering rfkill without holding the RTNL. This needs to be done after the device struct is registered, but that can also be done w/o holding the RTNL. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'fs/devpts')
0 files changed, 0 insertions, 0 deletions