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

Nguyen, Anthony L anthony.l.nguyen at intel.com
Wed Feb 24 23:30:23 UTC 2021


On Wed, 2021-02-24 at 12:07 +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")
> Signed-off-by: Grzegorz Szczurek <grzegorzx.szczurek at intel.com>
> Signed-off by: Michal Maloszewski <michal.maloszewski at intel.com>

I went ahead and fixed this, but your sign off is missing a '-'

> 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>
> ---
> v3: removed features of other patches and changed permissions to 664

Please keep the full revision history, not just the most recent.

Thanks,
Tony


More information about the Intel-wired-lan mailing list