From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by dpdk.org (Postfix) with ESMTP id 952CC235 for ; Tue, 21 Nov 2017 14:25:48 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 3CCCC20AF5; Tue, 21 Nov 2017 08:25:48 -0500 (EST) Received: from frontend2 ([10.202.2.161]) by compute1.internal (MEProxy); Tue, 21 Nov 2017 08:25:48 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fridaylinux.org; h=cc:date:from:in-reply-to:message-id:references:subject:to :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=tiKoyu2gG2D5myM+q GYOw21Fu2ZIFWDhvT3jaJDNgn8=; b=dmoVaNRa9p1zJO8eeH6t+lmRHuIRo1lIW pa5bFiKrWXW0f8FWf2Actvf2xYVhWCGpoLSuV7fGMmUN3qMXZHZCleNKjS0ZrlDf mXxLmyK1nFulv/mDnjkPxTb6Rfeu0b7P5FxXAo1MGbieLSr6G9XC8gYPlULaRqPQ 5U06zDVQRLvcd7hsfIH3tdhzEecFLbpxhoLfxg7ofwl5YASNE5MwmLiV2j3Q0sW3 zbSEibssebSn2SYg8XGl7rYXDwSyr50CE5ME508rzFmXucXfpAc7oJDLAyvhm5fp cn12epukKu9g/bqA1xTSWxbCCckD1tjtWiuYPbp6NovGFOhnF+OVA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:date:from:in-reply-to:message-id :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; bh=tiKoyu2gG2D5myM+qGYOw21Fu2ZIFWDhvT3jaJDNgn8=; b=RsQOmKkp 93QKeVvQ8/vDTLf13jJImajSzCRrUxch3oZdPCmjY4s+cgOsdtXXHRfIvc3+eFQA GymXHvecJCnkbjvKPJxYVXr0xSXFQrKMSlUrhL/kIkMNTQQUI4QQ+wsm8IwutFAi ybXO6XAEZ1apuJqPVLNrPvj63P341GA34YpwZW3Kr8xx1Wgqlh/kVxzrPAn5zSYL nf4wXuQGRvHBYS4/PIcU0itI13d5g8FIFJIXN0xgx8iEHgSrLHxfmnNw7NUg64Fk vSxCAooEfPocehKoPbrG/jS4VlKOQ8rd7Y+6iQ7wjTcikMrbW8ok6qOU42+PLRe5 DjhVzNYq9+3cHg== X-ME-Sender: Received: from localhost.localdomain (unknown [180.158.62.0]) by mail.messagingengine.com (Postfix) with ESMTPA id BD668248B4; Tue, 21 Nov 2017 08:25:44 -0500 (EST) From: Yuanhan Liu To: Aaron Conole Cc: John Daley , dpdk stable Date: Tue, 21 Nov 2017 21:17:24 +0800 Message-Id: <1511270333-31002-102-git-send-email-yliu@fridaylinux.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1511270333-31002-1-git-send-email-yliu@fridaylinux.org> References: <1511270333-31002-1-git-send-email-yliu@fridaylinux.org> Subject: [dpdk-stable] patch 'net/enic: fix assignment' has been queued to stable release 17.08.1 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Nov 2017 13:25:48 -0000 Hi, FYI, your patch has been queued to stable release 17.08.1 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 11/24/17. So please shout if anyone has objections. Thanks. --yliu --- >>From 88b1748cc73dc94bc1a8b23a88f7cc7388ba97f7 Mon Sep 17 00:00:00 2001 From: Aaron Conole Date: Tue, 26 Sep 2017 14:53:27 -0400 Subject: [PATCH] net/enic: fix assignment [ upstream commit e735c8e20b9c727fd60f9ae1fa86114594c6ec76 ] As it stands, the existing assignment to mbuf has no effect outside of the function. Prior to this change, the mbuf argument would contain an invalid address, but it would not be null. After this change, the caller gets a null mbuf back. Fixes: 947d860c821f ("enic: improve Rx performance") Signed-off-by: Aaron Conole Reviewed-by: John Daley --- drivers/net/enic/enic_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/enic/enic_main.c b/drivers/net/enic/enic_main.c index 9b0439b..cac8b66 100644 --- a/drivers/net/enic/enic_main.c +++ b/drivers/net/enic/enic_main.c @@ -224,7 +224,7 @@ enic_free_rq_buf(struct rte_mbuf **mbuf) return; rte_pktmbuf_free(*mbuf); - mbuf = NULL; + *mbuf = NULL; } void enic_init_vnic_resources(struct enic *enic) -- 2.7.4