diff options
author | 2009-11-03 15:58:40 +0000 | |
---|---|---|
committer | 2009-11-03 14:35:59 -0800 | |
commit | 4c31a781144c1f556dfcda3277dafecd4e107d95 (patch) | |
tree | cc2712f289e047b4cb782362bf3cef1415b04cb3 /net/unix/af_unix.c | |
parent | Linux 2.6.31 (diff) | |
download | wireguard-linux-4c31a781144c1f556dfcda3277dafecd4e107d95.tar.xz wireguard-linux-4c31a781144c1f556dfcda3277dafecd4e107d95.zip |
xenbus: do not hold transaction_mutex when returning to userspace
================================================
[ BUG: lock held when returning to user space! ]
------------------------------------------------
xenstore-list/3522 is leaving the kernel with locks still held!
1 lock held by xenstore-list/3522:
#0: (&xs_state.transaction_mutex){......}, at: [<c026dc6f>] xenbus_dev_request_and_reply+0x8f/0xa0
The canonical fix for this type of issue appears to be to maintain a
count manually rather than using an rwsem so do that here.
Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions