summaryrefslogtreecommitdiff
path: root/lib/fault-inject.c
diff options
context:
space:
mode:
authorStefan Assmann <sassmann@kpanic.de>2021-08-04 10:22:24 +0200
committerTony Nguyen <anthony.l.nguyen@intel.com>2021-08-17 09:45:45 -0700
commit5ac49f3c2702f269d31cc37eb9308bc557953c4d (patch)
tree37ab0e415b57bf38074d592906caea0d16f448df /lib/fault-inject.c
parent752be2976405b7499890c0b6bac6d30d34d08bd6 (diff)
iavf: use mutexes for locking of critical sections
As follow-up to the discussion with Jakub Kicinski about iavf locking being insufficient [1] convert iavf to use mutexes instead of bitops. The locking logic is kept as is, just a drop-in replacement of enum iavf_critical_section_t with separate mutexes. The only difference is that the mutexes will be destroyed before the module is unloaded. [1] https://lwn.net/ml/netdev/20210316150210.00007249%40intel.com/ Signed-off-by: Stefan Assmann <sassmann@kpanic.de> Tested-by: Marek Szlosek <marek.szlosek@intel.com> Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'lib/fault-inject.c')
0 files changed, 0 insertions, 0 deletions