From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] ivshmem: fix overlap detection code Date: Tue, 07 Jun 2016 12:03:19 +0200 Message-ID: <3009493.GHanPs185S@xps13> References: <1464094205-25967-1-git-send-email-anatoly.burakov@intel.com> <57449DF8.8040702@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, Ferruh Yigit To: "Burakov, Anatoly" 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 4BAAE9619 for ; Tue, 7 Jun 2016 12:03:21 +0200 (CEST) Received: by mail-wm0-f44.google.com with SMTP id m124so106764012wme.1 for ; Tue, 07 Jun 2016 03:03:21 -0700 (PDT) In-Reply-To: <57449DF8.8040702@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-05-24 19:31, Ferruh Yigit: > On 5/24/2016 1:52 PM, Burakov, Anatoly wrote: > >> From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Anatoly Burakov > >> Sent: Tuesday, May 24, 2016 1:50 PM > >> To: dev@dpdk.org > >> Subject: [dpdk-dev] [PATCH] ivshmem: fix overlap detection code > >> > >> Partial revert of an earlier ill-conceived "fix". > >> Adjacent segments can never be considered overlapping because we > >> are not comparing ends to starts, but rather starts to starts. > >> Therefore the earlier fix was wrong (plus it also had a typo). > >> > >> Signed-off-by: Anatoly Burakov > > > Tested-by: Ferruh Yigit > > Fixes: d6cf31419e51 ("ivshmem: avoid infinite loop when concatenating segments") > > Acked-by: Ferruh Yigit Applied, thanks