[dpdk-dev] [PATCH v2 1/1] net/mlx5: fix sharing context destroy order

Shahaf Shuler shahafs at mellanox.com
Mon Apr 8 08:00:15 CEST 2019


Friday, April 5, 2019 4:29 PM, Viacheslav Ovsiienko:
> Subject: [dpdk-dev] [PATCH v2 1/1] net/mlx5: fix sharing context destroy
> order
> 
> At the mlx5 device closing the shared IB context was destroyed before
> cleanup routines completion. As it was found on some setups (Netlink fails
> with old kernel drivers and we have to use sysfs to retrieve interface index,
> this requires IB device name, which is stored in shared context) the
> mlx5_nl_mac_addr_flush() requires IB device name, and if shared context is
> removed it causes the segmentation fault.
> 
> Fixes: 17e19bc4dde7 ("net/mlx5: add IB shared context alloc/free functions")
> 
> Signed-off-by: Viacheslav Ovsiienko <viacheslavo at mellanox.com>

Applied to next-net-mlx, thanks. 


More information about the dev mailing list