From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] examples/ipsec-secgw: fix inbound segfault Date: Sat, 16 Jul 2016 00:12:15 +0200 Message-ID: <1509639.KTBnxvxhJS@xps13> References: <1468327775-67706-1-git-send-email-sergio.gonzalez.monroy@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org To: Sergio Gonzalez Monroy Return-path: Received: from mail-wm0-f52.google.com (mail-wm0-f52.google.com [74.125.82.52]) by dpdk.org (Postfix) with ESMTP id 9993C558C for ; Sat, 16 Jul 2016 00:12:17 +0200 (CEST) Received: by mail-wm0-f52.google.com with SMTP id f126so40891512wma.1 for ; Fri, 15 Jul 2016 15:12:17 -0700 (PDT) In-Reply-To: <1468327775-67706-1-git-send-email-sergio.gonzalez.monroy@intel.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 2016-07-12 13:49, Sergio Gonzalez Monroy: > When sending Inbound non IPSec traffic that matches an Inbound Security > Policy set to Protect, the code will check that the SPI of the packet > and the associated Security Association match. > > That check should only be done for IPSec packets and results in SEGFAULT > when done on non IPSec packets. > > Fixes: 906257e965b7 ("examples/ipsec-secgw: support IPv6") > > Signed-off-by: Sergio Gonzalez Monroy Applied, thanks