[dpdk-dev] [PATCH 3/4] net/netvsc: mark chim_index as NVS_CHIM_IDX_INVALID after freeing it

Stephen Hemminger stephen at networkplumber.org
Tue Aug 11 17:32:37 CEST 2020


On Mon, 10 Aug 2020 19:33:13 -0700
longli at linuxonhyperv.com wrote:

> From: Long Li <longli at microsoft.com>
> 
> chim_index could potentially be used in other hn_txdesc when re-allocated.
> Mark it as invalid to prevent stale value being used.
> 
> Signed-off-by: Long Li <longli at microsoft.com>

Acked-by: Stephen Hemminger <stephen at networkplumber.org>


More information about the dev mailing list