From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f51.google.com (mail-wm0-f51.google.com [74.125.82.51]) by dpdk.org (Postfix) with ESMTP id 0458D2BA3 for ; Tue, 30 May 2017 09:48:29 +0200 (CEST) Received: by mail-wm0-f51.google.com with SMTP id d127so85852765wmf.0 for ; Tue, 30 May 2017 00:48:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=ORoDzRYh584YR4j4/uD+Kg0SEAdUldhMeBvGXuX4huM=; b=0FA/PKfew8Ey1PkWLKBpp1hy3RYWhVbiPbaQ4ipAXU+3WpTujWWNU/qnV96DrOPg30 jJQ6lPT7/Yit0DFsLFr8XKH8Fw0+OHPYwB2jWKlP2nJGbLnRaQN9Lq0JWaNkYY7Iw0YG f7PV+OzhQ6XitX9SANRX6zgd4owak2I0QTc18c5XzJsSvrmxsH0upkTk6yVA1CJ0WAR6 YeL/LHV1C8vHg7Ec8LYqUHK6ymNB+clAPkDgksQWZ4VOZNfJqylNTPMwietT5OgrH4Ng skw0IMJ73xQK0SHjeiOHTJKB09o8c0pAFG8YBeKVcBGqr3J6Y0WaYDYaHCoiZlme1FPa ou+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=ORoDzRYh584YR4j4/uD+Kg0SEAdUldhMeBvGXuX4huM=; b=KG/L0Dc1Uib8p9aiv0CwAuSJIVFCpWsR22bicjvEi12sNL5hFb9oX9IgblRHg2Ra1w kxXVAW7sk3krVcjW18ZNTsoFsuvYjrarcXI1td9tKz3Cr7kVUcCAqorigdc8fV3h5afM 6L1rWZnMM2pWTYohCvyICsazPQ9w0Cn15ijCY48UOh348h7C76kocCVGpu6uX9OUKlZz Gx0lkj0rkPMmEJ0I8fQVHm++DO2HOG9BJwWaCW5w0HLl7pqu3f0Evk/uVWJCjCLQ5lke cJv0Gp+JWawfSTK/iwQCqjuHM9lJiUiWQk6+PU0I0nTcrLAi7Yz3X/5KO63Tqugn4Oyd wAug== X-Gm-Message-State: AODbwcC0m/JwXzTSP2ZE6ECYc/Sjbgfbn6dTnavR6GSoe6ASJAJfRsWa heKl47kHUUn63S5q X-Received: by 10.28.94.78 with SMTP id s75mr673541wmb.4.1496130509760; Tue, 30 May 2017 00:48:29 -0700 (PDT) Received: from 6wind.com (host.78.145.23.62.rev.coltfrance.com. [62.23.145.78]) by smtp.gmail.com with ESMTPSA id p76sm14330084wma.15.2017.05.30.00.48.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 30 May 2017 00:48:28 -0700 (PDT) Date: Tue, 30 May 2017 09:48:23 +0200 From: Adrien Mazarguil To: Yongseok Koh Cc: ferruh.yigit@intel.com, dev@dpdk.org, nelio.laranjeiro@6wind.com, stable@dpdk.org Message-ID: <20170530074823.GU1758@6wind.com> References: <20170530010259.48823-1-yskoh@mellanox.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170530010259.48823-1-yskoh@mellanox.com> Subject: Re: [dpdk-dev] [PATCH] net/mlx5: fix wrong exception handling X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 May 2017 07:48:30 -0000 On Mon, May 29, 2017 at 06:02:59PM -0700, Yongseok Koh wrote: > A sanity check is required in priv_fdir_disable(). If resizing Rx queue > fails, this can cause a crash by referencing a NULL pointer. > > Cc: stable@dpdk.org > Fixes: 76f5c99e6840 ("mlx5: support flow director") > Fixes: 0cdddf4d0626 ("net/mlx5: split Rx queue structure") > > Signed-off-by: Yongseok Koh Acked-by: Adrien Mazarguil -- Adrien Mazarguil 6WIND