diff options
| author | Victor Raj <[email protected]> | 2020-07-30 00:19:21 +0000 |
|---|---|---|
| committer | Tony Nguyen <[email protected]> | 2020-08-01 15:44:04 +0000 |
| commit | 6a2c2b2c1bcbc3bc3ad484916d84c16eb58a6f70 (patch) | |
| tree | 7925ee481602b189cb0af5619fb41c57ef66169f /drivers/net/ethernet/intel/ice/ice_sched.c | |
| parent | ice: update PTYPE lookup table (diff) | |
| download | kernel-6a2c2b2c1bcbc3bc3ad484916d84c16eb58a6f70.tar.gz kernel-6a2c2b2c1bcbc3bc3ad484916d84c16eb58a6f70.zip | |
ice: adjust profile ID map locks
The profile ID map lock should be held till the caller completes
all references of that profile entries.
The current code releases the lock right after the match search.
This caused a driver issue when the profile map entries were
referenced after it was freed in other thread after the lock was
released earlier.
Signed-off-by: Victor Raj <[email protected]>
Tested-by: Andrew Bowers <[email protected]>
Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_sched.c')
0 files changed, 0 insertions, 0 deletions
