From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v2] vhost_user: avoid crash when exeeding file descriptors Date: Fri, 15 Jul 2016 21:46:54 +0200 Message-ID: <3519870.cZpZK8JDRt@xps13> References: <1467807898-27772-2-git-send-email-christian.ehrhardt@canonical.com> <20160712083723.GD26521@yliu-dev.sh.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: Yuanhan Liu , dev@dpdk.org, huawei.xie@intel.com To: Christian Ehrhardt , patrik.r.andersson@ericsson.com Return-path: Received: from mail-wm0-f49.google.com (mail-wm0-f49.google.com [74.125.82.49]) by dpdk.org (Postfix) with ESMTP id BB30311DE for ; Fri, 15 Jul 2016 21:46:56 +0200 (CEST) Received: by mail-wm0-f49.google.com with SMTP id o80so43028678wme.1 for ; Fri, 15 Jul 2016 12:46:56 -0700 (PDT) In-Reply-To: <20160712083723.GD26521@yliu-dev.sh.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 16:37, Yuanhan Liu: > On Wed, Jul 06, 2016 at 02:24:58PM +0200, Christian Ehrhardt wrote: > > *update in v2* > > - refreshing for DPDK 16.07 > > - Close fd on vserver->listenfd as suggested in discussion > > > > Original From: > > From: Patrik Andersson > > > > Protect against DPDK crash when allocation of listen fd >= 1023. > > For events on fd:s >1023, the current implementation will trigger > > an abort due to access outside of allocated bit mask. > > Hmmm, I have no idea why I missed this email in the beginning, > otherwise, it would have been in rc2 release. > > Thanks for the re-posting, and we should have had it in last > release. > > Acked-by: Yuanhan Liu Applied, thanks