From mboxrd@z Thu Jan 1 00:00:00 1970 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:user-agent:in-reply-to :references:mime-version:content-transfer-encoding; bh=THLSWmDguvuMV9LfvAnwPa9D4aLzuZty32WNZ2vV8O0=; b=ir6ADC5iEkFPnQihCdOxtzvnAjpThS6oMtltYXno/jDEW1CkC4CDVycuw94Sk+40n6 GJZtAIf7FUR0ZF7tAEvi+IGK2HGSc2++sRb0i4MTJY0go76DGDPCoBQefwrKge84bk// rxd5urQXAxt6TgzAPcqHZ9pySNlpqvp3TFFjCAfn/Ai6u+3wREIvv9JjvxLn2qCV5nFX g+h2uuC9nyCWj61WPC271xO9fsvlZv7BN+1VFkH0ie1I19ekuRT0UvzrU4VcnTNOwqiU QKOcLT1JnM35oLoEK/4scSbFzt2Pd1UFtHpxeYRglS0r/OuTSG/ujtHeGKPU13yWuJJ5 BIWA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=THLSWmDguvuMV9LfvAnwPa9D4aLzuZty32WNZ2vV8O0=; b=JpiHl1OMGy6PSF/E6nS2gs3xeBUlxqRON40EdG2RjhJrj67m4vSXOLMBzXTW4NIQaA adzz+q7LUDAhItsQjP232Tu6UK6mcs7lp5mmQMVFhzfPjaBvD9BtOuXOKSoRC+w7P2BJ 7qEXQPtLX5SX+2XABUeju2PmcNp34figp7L1i7a8xM4bQL47enHdWJB5L52aNBEJHRvo Jn0oFtQDhZTZeqMCjSfpkgIE0JdClLrYYO/mmX/EcxKmlQ/isQZuFhe7FEtOZko4Bwus kwPDEVICUJuA5iQM2JF6FccH+8oZDf3TY2yTZyQOaUVYZCZ3htkBk53J86+GYdv5eUan bSFA== X-Gm-Message-State: ALyK8tJ2wLEA2uya/mavU4NcjRFIijiDQGu7OKP4YVFzJbrEuopjOogT/yIv8zMCZ++ET9z8 X-Received: by 10.194.36.5 with SMTP id m5mr2465203wjj.65.1468612016551; Fri, 15 Jul 2016 12:46:56 -0700 (PDT) Received: from xps13.localnet (184.203.134.77.rev.sfr.net. [77.134.203.184]) by smtp.gmail.com with ESMTPSA id c6sm2250914wjd.1.2016.07.15.12.46.55 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 15 Jul 2016 12:46:55 -0700 (PDT) From: Thomas Monjalon To: Christian Ehrhardt , patrik.r.andersson@ericsson.com Cc: Yuanhan Liu , dev@dpdk.org, huawei.xie@intel.com Date: Fri, 15 Jul 2016 21:46:54 +0200 Message-ID: <3519870.cZpZK8JDRt@xps13> User-Agent: KMail/4.14.10 (Linux/4.5.4-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <20160712083723.GD26521@yliu-dev.sh.intel.com> References: <1467807898-27772-2-git-send-email-christian.ehrhardt@canonical.com> <20160712083723.GD26521@yliu-dev.sh.intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v2] vhost_user: avoid crash when exeeding file descriptors X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Jul 2016 19:46:56 -0000 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