summaryrefslogtreecommitdiff
path: root/net/bridge
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 /net/bridge
parent6a146f3a5894b751cef16feb3d7903e45e3c445c (diff)
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 'net/bridge')
0 files changed, 0 insertions, 0 deletions