diff options
| author | WANG Cong <xiyou.wangcong@gmail.com> | 2017-07-10 20:05:50 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2017-07-11 23:41:57 +0300 |
| commit | ffa423fb3251f8737303ffc3b0659e86e501808e (patch) | |
| tree | 0d93e56751fc63134f41f2bbb5e38963c6281aa4 /scripts/gcc-plugins/cyc_complexity_plugin.c | |
| parent | 6a146f3a5894b751cef16feb3d7903e45e3c445c (diff) | |
| download | linux-ffa423fb3251f8737303ffc3b0659e86e501808e.tar.xz | |
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 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions
