Home
last modified time | relevance | path

Searched hist:ffa423fb (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/net/
H A Dtap.cffa423fb Mon Jul 10 12:05:50 CDT 2017 WANG Cong <xiyou.wangcong@gmail.com> 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>