DPDK patches and discussions
 help / color / mirror / Atom feed
From: Shahaf Shuler <shahafs@mellanox.com>
To: "Yongseok Koh" <yskoh@mellanox.com>,
	"Adrien Mazarguil" <adrien.mazarguil@6wind.com>,
	"Nélio Laranjeiro" <nelio.laranjeiro@6wind.com>
Cc: "dev@dpdk.org" <dev@dpdk.org>,
	"ferruh.yigit@intel.com" <ferruh.yigit@intel.com>,
	"Xueming(Steven) Li" <xuemingl@mellanox.com>
Subject: Re: [dpdk-dev] [PATCH] net/mlx4: fix crash when configure is not called
Date: Mon, 28 May 2018 13:46:04 +0000	[thread overview]
Message-ID: <DB7PR05MB4426E5C56666CACE7EB56E8FC36E0@DB7PR05MB4426.eurprd05.prod.outlook.com> (raw)
In-Reply-To: <20180527070455.13123-1-yskoh@mellanox.com>

Sunday, May 27, 2018 10:05 AM, Yongseok Koh:
> Subject: [PATCH] net/mlx4: fix crash when configure is not called
> 
> Although uncommon, applications may destroy a device immediately after
> probing it without going through dev_configure() first.
> 
> This patch addresses a crash which occurs when mlx4_dev_close() calls
> mlx4_mr_release() due to an uninitialized entry in the private structure.
> 
> And the device's B-tree should be allocated once.
> 
> Fixes: 9797bfcce1c9 ("net/mlx4: add new memory region support")
> 
> Signed-off-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>
> Signed-off-by: Xueming Li <xuemingl@mellanox.com>
> Signed-off-by: Yongseok Koh <yskoh@mellanox.com>
> ---

Applied to next-net-mlx, thanks. 

      reply	other threads:[~2018-05-28 13:46 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-27  7:04 Yongseok Koh
2018-05-28 13:46 ` 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=DB7PR05MB4426E5C56666CACE7EB56E8FC36E0@DB7PR05MB4426.eurprd05.prod.outlook.com \
    --to=shahafs@mellanox.com \
    --cc=adrien.mazarguil@6wind.com \
    --cc=dev@dpdk.org \
    --cc=ferruh.yigit@intel.com \
    --cc=nelio.laranjeiro@6wind.com \
    --cc=xuemingl@mellanox.com \
    --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).