diff options
| author | WANG Cong <[email protected]> | 2017-07-10 17:05:50 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2017-07-11 20:41:57 +0000 |
| commit | ffa423fb3251f8737303ffc3b0659e86e501808e (patch) | |
| tree | 0d93e56751fc63134f41f2bbb5e38963c6281aa4 /net/unix/af_unix.c | |
| parent | cxgb4: fix BUG() on interrupt deallocating path of ULD (diff) | |
| download | kernel-ffa423fb3251f8737303ffc3b0659e86e501808e.tar.gz kernel-ffa423fb3251f8737303ffc3b0659e86e501808e.zip | |
tap: convert a mutex to a spinlock
We are not allowed to block on the RCU reader side, so can't
just hold the mutex as before. As a quick fix, convert it to
a spinlock.
Fixes: d9f1f61c0801 ("tap: Extending tap device create/destroy APIs")
Reported-by: Christian Borntraeger <[email protected]>
Tested-by: Christian Borntraeger <[email protected]>
Cc: Sainath Grandhi <[email protected]>
Signed-off-by: Cong Wang <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
