patches for DPDK stable branches
 help / color / mirror / Atom feed
From: Shahaf Shuler <shahafs@mellanox.com>
To: Yongseok Koh <yskoh@mellanox.com>
Cc: "dev@dpdk.org" <dev@dpdk.org>, "stable@dpdk.org" <stable@dpdk.org>
Subject: Re: [dpdk-stable] [dpdk-dev] [PATCH] net/mlx5: fix Multi-Packet RQ mempool free
Date: Thu, 20 Dec 2018 06:55:41 +0000	[thread overview]
Message-ID: <DB7PR05MB44263DF091149AE58D81DFE4C3BF0@DB7PR05MB4426.eurprd05.prod.outlook.com> (raw)
In-Reply-To: <20181212111132.35983-1-yskoh@mellanox.com>

Wednesday, December 12, 2018 1:12 PM, Yongseok Koh:
> Subject: [dpdk-dev] [PATCH] net/mlx5: fix Multi-Packet RQ mempool free
> 
> When MPRQ mempool is freed, the pointer stored in priv structure must be
> reset to null. Otherwise, the mempool can be freed again if the port is
> restarted.
> 
> Fixes: 7d6bf6b866b8 ("net/mlx5: add Multi-Packet Rx support")
> Cc: stable@dpdk.org
> 
> Signed-off-by: Yongseok Koh <yskoh@mellanox.com>

Applied to next-net-mlx, thanks. 

> ---
>  drivers/net/mlx5/mlx5_rxq.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/net/mlx5/mlx5_rxq.c b/drivers/net/mlx5/mlx5_rxq.c index
> 183da0e282..34c8338723 100644
> --- a/drivers/net/mlx5/mlx5_rxq.c
> +++ b/drivers/net/mlx5/mlx5_rxq.c
> @@ -1179,6 +1179,7 @@ mlx5_mprq_free_mp(struct rte_eth_dev *dev)
>  			continue;
>  		rxq->mprq_mp = NULL;
>  	}
> +	priv->mprq_mp = NULL;
>  	return 0;
>  }
> 
> --
> 2.11.0

      reply	other threads:[~2018-12-20  6:55 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-12-12 11:11 [dpdk-stable] " Yongseok Koh
2018-12-20  6:55 ` Shahaf Shuler [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=DB7PR05MB44263DF091149AE58D81DFE4C3BF0@DB7PR05MB4426.eurprd05.prod.outlook.com \
    --to=shahafs@mellanox.com \
    --cc=dev@dpdk.org \
    --cc=stable@dpdk.org \
    --cc=yskoh@mellanox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).