From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 158CBA04C3 for ; Fri, 22 Nov 2019 15:42:45 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 087FF374; Fri, 22 Nov 2019 15:42:45 +0100 (CET) Received: from us-smtp-delivery-1.mimecast.com (us-smtp-1.mimecast.com [205.139.110.61]) by dpdk.org (Postfix) with ESMTP id 846C41B103 for ; Fri, 22 Nov 2019 15:42:43 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1574433763; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=IbNoCEBMPJz9UhH0Hy2DgXjoyl6wu7JdVYv76LdGlqI=; b=LVIkgbUpgHgb4v8+dQy0DpZb+ZrZYpQYMc8pEYZlekktRRnIu1747ZUqgqqnncK6PIgu43 1HdqXpib8NOphjm4hKNY7la6x3LgMPi4lW5whY0/7iDS0J0oE7x+IIB//XEsi2gSyd1ldW 6tGBdtiwbGKa2UDdMVRYOTDJo9tBMb0= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-256-CiS26NDGOaSa9bIHUtPKBg-1; Fri, 22 Nov 2019 09:42:39 -0500 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id AF5B61005509; Fri, 22 Nov 2019 14:42:38 +0000 (UTC) Received: from rh.redhat.com (unknown [10.36.118.60]) by smtp.corp.redhat.com (Postfix) with ESMTP id 93D8D8516; Fri, 22 Nov 2019 14:42:37 +0000 (UTC) From: Kevin Traynor To: Anoob Joseph Cc: Akhil Goyal , dpdk stable Date: Fri, 22 Nov 2019 14:41:14 +0000 Message-Id: <20191122144131.21231-28-ktraynor@redhat.com> In-Reply-To: <20191122144131.21231-1-ktraynor@redhat.com> References: <20191122144131.21231-1-ktraynor@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-MC-Unique: CiS26NDGOaSa9bIHUtPKBg-1 X-Mimecast-Spam-Score: 0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Subject: [dpdk-stable] patch 'examples/ipsec-secgw: fix access to freed packet' has been queued to LTS release 18.11.6 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: , Errors-To: stable-bounces@dpdk.org Sender: "stable" Hi, FYI, your patch has been queued to LTS release 18.11.6 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/29/19. So please shout if anyone has objections. Also note that after the patch there's a diff of the upstream commit vs the patch applied to the branch. This will indicate if there was any rebasing needed to apply to the stable branch. If there were code changes for rebasi= ng (ie: not only metadata diffs), please double check that the rebase was correctly done. Queued patches are on a temporary branch at: https://github.com/kevintraynor/dpdk-stable-queue This queued commit can be viewed at: https://github.com/kevintraynor/dpdk-stable-queue/commit/7824c471ad33c02eb1= c85c63880e699bb20ca2c9 Thanks. Kevin. --- >From 7824c471ad33c02eb1c85c63880e699bb20ca2c9 Mon Sep 17 00:00:00 2001 From: Anoob Joseph Date: Thu, 22 Aug 2019 13:58:55 +0530 Subject: [PATCH] examples/ipsec-secgw: fix access to freed packet [ upstream commit 1f868d90241cc6be2b378faa9dd43002b218226a ] For unknown/unsupported packets, the packet would get checked for inline offloads after the packet is freed. Fixes: 0ccfd14bc10d ("examples/ipsec-secgw: support inline protocol") Signed-off-by: Anoob Joseph Acked-by: Akhil Goyal --- examples/ipsec-secgw/ipsec-secgw.c | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/ipsec-secgw/ipsec-secgw.c b/examples/ipsec-secgw/ipse= c-secgw.c index dfb93375a..c55606e07 100644 --- a/examples/ipsec-secgw/ipsec-secgw.c +++ b/examples/ipsec-secgw/ipsec-secgw.c @@ -259,4 +259,5 @@ prepare_one_packet(struct rte_mbuf *pkt, struct ipsec_t= raffic *t) =09=09=09rte_be_to_cpu_16(eth->ether_type)); =09=09rte_pktmbuf_free(pkt); +=09=09return; =09} =20 --=20 2.21.0 --- Diff of the applied patch vs upstream commit (please double-check if non-= empty: --- --- -=092019-11-22 14:36:56.719220771 +0000 +++ 0028-examples-ipsec-secgw-fix-access-to-freed-packet.patch=092019-11-22= 14:36:55.197149286 +0000 @@ -1 +1 @@ -From 1f868d90241cc6be2b378faa9dd43002b218226a Mon Sep 17 00:00:00 2001 +From 7824c471ad33c02eb1c85c63880e699bb20ca2c9 Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit 1f868d90241cc6be2b378faa9dd43002b218226a ] + @@ -10 +11,0 @@ -Cc: stable@dpdk.org @@ -19 +20 @@ -index 0d1fd6af6..fcd656b04 100644 +index dfb93375a..c55606e07 100644 @@ -22 +23 @@ -@@ -354,4 +354,5 @@ prepare_one_packet(struct rte_mbuf *pkt, struct ipsec_= traffic *t) +@@ -259,4 +259,5 @@ prepare_one_packet(struct rte_mbuf *pkt, struct ipsec_= traffic *t)