From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] net/enic: fix possible Rx corruption Date: Fri, 22 Jul 2016 00:46:47 +0200 Message-ID: <2741378.dfrx3epoUB@xps13> References: <1468968163-31556-1-git-send-email-johndale@cisco.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, bruce.richardson@intel.com To: John Daley 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 108DC5A54 for ; Fri, 22 Jul 2016 00:46:49 +0200 (CEST) Received: by mail-wm0-f51.google.com with SMTP id o80so42894635wme.1 for ; Thu, 21 Jul 2016 15:46:49 -0700 (PDT) In-Reply-To: <1468968163-31556-1-git-send-email-johndale@cisco.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-19 15:42, John Daley: > Initialize the mbuf data offset to RTE_PKTMBUF_HEADROOM as the > enic takes ownership of them. If allocated mbufs had some offset > other than RTE_PKTMBUF_HEADROOM, the application would read mbuf > data starting at the wrong place and misinterpret the packet. > > Fixes: 856d7ba7ed22 ("net/enic: support scattered Rx") > > Reviewed-by: Nelson Escobar > Signed-off-by: John Daley Applied, thanks