diff options
author | WANG Cong <xiyou.wangcong@gmail.com> | 2017-07-10 19:05:50 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-07-11 22:41:57 +0200 |
commit | ffa423fb3251f8737303ffc3b0659e86e501808e (patch) | |
tree | 0d93e56751fc63134f41f2bbb5e38963c6281aa4 /firmware | |
parent | cxgb4: fix BUG() on interrupt deallocating path of ULD (diff) | |
download | linux-ffa423fb3251f8737303ffc3b0659e86e501808e.tar.xz linux-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 <borntraeger@de.ibm.com>
Tested-by: Christian Borntraeger <borntraeger@de.ibm.com>
Cc: Sainath Grandhi <sainath.grandhi@intel.com>
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'firmware')
0 files changed, 0 insertions, 0 deletions