From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f44.google.com (mail-wm0-f44.google.com [74.125.82.44]) by dpdk.org (Postfix) with ESMTP id 9E0D8FABD for ; Thu, 9 Feb 2017 18:48:18 +0100 (CET) Received: by mail-wm0-f44.google.com with SMTP id c85so238675261wmi.1 for ; Thu, 09 Feb 2017 09:48:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:user-agent:in-reply-to :references:mime-version:content-transfer-encoding; bh=fQZXz+1Gl4FyXYb8Vl/Rh+COuQWuYTLqDx5UMRPlT9Q=; b=a4ClSZHHV0oeLdx9y+NrfWFnfGe8rjGeoyqYbFnA5ONKwIIB58vQExyFFibg4KhOAu 9SvCCiWmk7yWMk3MAN4Du5U8KVgXKlCdVSFJl+k0WTjDEeI+N6vdImpAd4bER31IQg/E BNlrsLWb55AJwei5dFhd0OCTk4TIO83WS83RgfyVS3gvarEKcfzELwdvTiR67ulyBRaw 30nuQASTp2dCyuPR8rw0Lzw2GnSx8QM7Ckc40WK1Y+pjPTiMNhBRoE6bvdKCbE520g8N j9geMnuDioUmbaLw3m5iaN8GA9rNKEgskzfxO5EMzKBInpF1plWwMFvzdLY+LFtI8q8O XWwA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=fQZXz+1Gl4FyXYb8Vl/Rh+COuQWuYTLqDx5UMRPlT9Q=; b=qjIi1KxZS0VN8864z+zPef6b8fd3sc5knBiqBQQINdQnuaMbGCPGk2QbW6ANhEPllg ZCxe4XkllLv1JG49cnUvmon/3i91I8qnzO7LvVOmSZsDde1gPN702EwXnqgY3DDIERYX fRZMuudLhG4CC6diNeDVjF/eqFpsfq+UVqy4r/AeNnmJQurGpJpo/1nx8H2iIwFauiJL Ww/UmUk74HZwWGlly9WsHpZiZxtGV9427tg1Ut09jFIwdiSOcwsJcYOjg8NmnL2UeQom D7SEtIQSgfbXFcTelyuhtDoAc6d7bs9NeVMLjJfjRSD6hw7X08MaJvkGO8pv5A9EFQ0I 1kEQ== X-Gm-Message-State: AMke39mACKLpAbwuzfqaOCU5ETXXDBej45moPZuCMi0Z+5eqg6AfBd8sY77XKVPKK24KH0Xb X-Received: by 10.28.31.130 with SMTP id f124mr3904701wmf.130.1486662498285; Thu, 09 Feb 2017 09:48:18 -0800 (PST) Received: from xps13.localnet (184.203.134.77.rev.sfr.net. [77.134.203.184]) by smtp.gmail.com with ESMTPSA id 10sm19633446wrw.13.2017.02.09.09.48.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 09 Feb 2017 09:48:17 -0800 (PST) From: Thomas Monjalon To: Jan Blunck , Alan Dewar Cc: dev@dpdk.org, "Dumitrescu, Cristian" , "h.mikita89@gmail.com" , stable@dpdk.org Date: Thu, 09 Feb 2017 18:48:16 +0100 Message-ID: <16895121.pfXIAiMIQd@xps13> User-Agent: KMail/4.14.10 (Linux/4.5.4-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <3EB4FA525960D640B5BDFFD6A3D8912652748706@IRSMSX108.ger.corp.intel.com> References: <1486402362-15098-1-git-send-email-jblunck@infradead.org> <3EB4FA525960D640B5BDFFD6A3D8912652748706@IRSMSX108.ger.corp.intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] sched: fix segmentation fault when freeing port 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: Thu, 09 Feb 2017 17:48:18 -0000 > > Prevent a segmentation fault in rte_sched_port_free by only accessing > > the port structure after the NULL pointer check has been made. > > > > Fixes: 7b3c4f35 ("sched: fix releasing enqueued packets") > > > > Signed-off-by: Alan Dewar > > Signed-off-by: Jan Blunck > > Acked-by: Cristian Dumitrescu Cc: stable@dpdk.org Applied, thanks