aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/testing
diff options
context:
space:
mode:
authorWANG Cong <xiyou.wangcong@gmail.com>2017-07-10 10:05:50 -0700
committerDavid S. Miller <davem@davemloft.net>2017-07-11 13:41:57 -0700
commitffa423fb3251f8737303ffc3b0659e86e501808e (patch)
tree0d93e56751fc63134f41f2bbb5e38963c6281aa4 /tools/testing
parentcxgb4: fix BUG() on interrupt deallocating path of ULD (diff)
downloadwireguard-linux-ffa423fb3251f8737303ffc3b0659e86e501808e.tar.xz
wireguard-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 'tools/testing')
0 files changed, 0 insertions, 0 deletions