[Intel-wired-lan] [PATCH S51 12/13] ice: adjust profile id map locks

Bowers, AndrewX andrewx.bowers at intel.com
Fri Jul 31 19:57:01 UTC 2020


> -----Original Message-----
> From: Intel-wired-lan <intel-wired-lan-bounces at osuosl.org> On Behalf Of
> Tony Nguyen
> Sent: Wednesday, July 29, 2020 5:19 PM
> To: intel-wired-lan at lists.osuosl.org
> Subject: [Intel-wired-lan] [PATCH S51 12/13] ice: adjust profile id map locks
> 
> From: Victor Raj <victor.raj at intel.com>
> 
> 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 <victor.raj at intel.com>
> ---
>  .../net/ethernet/intel/ice/ice_flex_pipe.c    | 90 +++++++++----------
>  1 file changed, 45 insertions(+), 45 deletions(-)

Tested-by: Andrew Bowers <andrewx.bowers at intel.com>




More information about the Intel-wired-lan mailing list