[Intel-wired-lan] [PATCH net v1] i40e: Fix NULL ptr dereference on VSI filter sync

Nguyen, Anthony L anthony.l.nguyen at intel.com
Fri Feb 5 23:28:49 UTC 2021


On Thu, 2021-02-04 at 11:55 +0000, Michał Małoszewski wrote:
> Remove the reason of null pointer dereference in sync vsi filters.
> Added new I40E_VSI_RELEASING flag to signalize deleting and releasing
> of VSI resources to sync this thread with sync filters subtask.
> Without this patch it is possible to start update the vsi filter list
> after vsi is removed, that's causing a kernel oops.
> 
> Fixes: 17652c6336fd("i40e: remove unused argument")
> Reviewed-on: https://git-amr-1.devtools.intel.com/gerrit/282326

The Reviewed-on should not be included.

> Reviewed-by: Przemyslaw Patynowski <przemyslawx.patynowski at intel.com>
> Reviewed-by: Fijalkowski, WitoldX <witoldx.fijalkowski at intel.com>
> Reviewed-by: Jaroslaw Gawin <jaroslawx.gawin at intel.com>
> Reviewed-by: Aleksandr Loktionov <aleksandr.loktionov at intel.com>
> Signed-off-by: Grzegorz Szczurek <grzegorzx.szczurek at intel.com>
> Signed-off-by: Michal Maloszewski <michal.maloszewski at intel.com>
> ---
>  drivers/net/ethernet/intel/i40e/i40e.h      | 1 +
>  drivers/net/ethernet/intel/i40e/i40e_main.c | 5 +++--
>  2 files changed, 4 insertions(+), 2 deletions(-)
>  mode change 100644 => 100755 drivers/net/ethernet/intel/i40e/i40e.h
>  mode change 100644 => 100755
> drivers/net/ethernet/intel/i40e/i40e_main.c

I believe this was unintended?

ERROR: do not set execute permissions for source files
#26: FILE: drivers/net/ethernet/intel/i40e/i40e.h

ERROR: do not set execute permissions for source files
#40: FILE: drivers/net/ethernet/intel/i40e/i40e_main.c



More information about the Intel-wired-lan mailing list