Re: [dpdk-dev] [PATCH] vhost: fix device leak on connection add failure

2019-04-17 Thread Maxime Coquelin
On 4/11/19 12:23 PM, Ilya Maximets wrote: Need to destroy allocated device if application fails to add new connection or we have fdset failure. Fixes: acbff5c67ea7 ("vhost: fix crash when exceeding file descriptors") Fixes: efba12a78ddf ("vhost: add user callbacks for socket open/close") Cc:s

Re: [dpdk-dev] [PATCH] vhost: fix device leak on connection add failure

2019-04-14 Thread Tiwei Bie
On Thu, Apr 11, 2019 at 01:23:06PM +0300, Ilya Maximets wrote: > Need to destroy allocated device if application fails to > add new connection or we have fdset failure. > > Fixes: acbff5c67ea7 ("vhost: fix crash when exceeding file descriptors") > Fixes: efba12a78ddf ("vhost: add user callbacks fo

Re: [dpdk-dev] [PATCH] vhost: fix device leak on connection add failure

2019-04-11 Thread Jens Freimann
On Thu, Apr 11, 2019 at 01:23:06PM +0300, Ilya Maximets wrote: Need to destroy allocated device if application fails to add new connection or we have fdset failure. Fixes: acbff5c67ea7 ("vhost: fix crash when exceeding file descriptors") Fixes: efba12a78ddf ("vhost: add user callbacks for socket

Re: [dpdk-dev] [PATCH] vhost: fix device leak on connection add failure

2019-04-11 Thread David Marchand
On Thu, Apr 11, 2019 at 12:23 PM Ilya Maximets wrote: > Need to destroy allocated device if application fails to > add new connection or we have fdset failure. > > Fixes: acbff5c67ea7 ("vhost: fix crash when exceeding file descriptors") > Fixes: efba12a78ddf ("vhost: add user callbacks for socket

[dpdk-dev] [PATCH] vhost: fix device leak on connection add failure

2019-04-11 Thread Ilya Maximets
Need to destroy allocated device if application fails to add new connection or we have fdset failure. Fixes: acbff5c67ea7 ("vhost: fix crash when exceeding file descriptors") Fixes: efba12a78ddf ("vhost: add user callbacks for socket open/close") Cc: sta...@dpdk.org Reported-by: David Marchand S