Re: [dpdk-dev] [PATCH] net/mlx5: fix verification of device context

2017-07-26 Thread Gaƫtan Rivet
Hi Shachar, On Wed, Jul 26, 2017 at 09:21:27AM +, Shachar Beiser wrote: > Hi , > >When I say close I mean : " mlx5_dev_close" . This function set the > priv->ctx to NULL. >We think this patch is required because we have an open bug of seg > fault while accessing priv->ctx ==

Re: [dpdk-dev] [PATCH] net/mlx5: fix verification of device context

2017-07-26 Thread Shachar Beiser
Hi , When I say close I mean : " mlx5_dev_close" . This function set the priv->ctx to NULL. We think this patch is required because we have an open bug of seg fault while accessing priv->ctx == NULL. -Shachar Beiser. -Original Message-

Re: [dpdk-dev] [PATCH] net/mlx5: fix verification of device context

2017-07-26 Thread Adrien Mazarguil
Hi Shachar, On Wed, Jul 26, 2017 at 05:43:24AM +, Shachar Beiser wrote: > Get interface name function lacks verification of device context. > It might lead to segmentation fault when trying to query the name > after the device is closed.fixing it by adding the missing verification > Thanks,

[dpdk-dev] [PATCH] net/mlx5: fix verification of device context

2017-07-25 Thread Shachar Beiser
Get interface name function lacks verification of device context. It might lead to segmentation fault when trying to query the name after the device is closed.fixing it by adding the missing verification Fixes: cd89f22a1e9770 ("net/mlx5: remove unused interface name query") Cc: sta...@dpdk.org Si