[dpdk-dev] [PATCH v2] vhost_user: avoid crash when exeeding file descriptors

2016-07-15 Thread Thomas Monjalon
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 cr

[dpdk-dev] [PATCH v2] vhost_user: avoid crash when exeeding file descriptors

2016-07-12 Thread 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 e

[dpdk-dev] [PATCH v2] vhost_user: avoid crash when exeeding file descriptors

2016-07-06 Thread Christian Ehrhardt
*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 ou