it WQ objects for different RQ
types")
Signed-off-by: Xin Xiong
Signed-off-by: Xiyu Yang
Signed-off-by: Xin Tan
---
v1 -> v2:
- Amended parts of wording to be better understood
- Added Fixes tag
---
drivers/net/ethernet/mellanox/mlx5/core/en_main.c | 4 ++--
1 file changed, 2 insertions(
reasing the refcount kept by a local variable,
resulting in refcount leaks.
Fix the issue by adding atm_dev_put() before returning 0 both when
dev_data->persist is zero or PRIV(dev)->vcc isn't NULL.
Signed-off-by: Xin Xiong
Signed-off-by: Xiyu Yang
Signed-off-by: Xin Tan
---
dri
the error code and forgets to drop the refcount increased
earlier, causing a refcount leak of "rq->xdp_prog".
Fix this issue by jumping to the error handling path err_rq_wq_destroy
when either function fails.
Signed-off-by: Xin Xiong
Signed-off-by: Xiyu Yang
Signed-off-by: Xin