Re: [PATCH 6/7] vhost-net: fix improper cleanup in vhost_net_start

2022-03-30 Thread Jason Wang
On Wed, Mar 30, 2022 at 2:33 PM Si-Wei Liu wrote: > > vhost_net_start() missed a corresponding stop_one() upon error from > vhost_set_vring_enable(). While at it, make the error handling for > err_start more robust. No real issue was found due to this though. > > Signed-off-by: Si-Wei Liu > ---

[PATCH 6/7] vhost-net: fix improper cleanup in vhost_net_start

2022-03-29 Thread Si-Wei Liu
vhost_net_start() missed a corresponding stop_one() upon error from vhost_set_vring_enable(). While at it, make the error handling for err_start more robust. No real issue was found due to this though. Signed-off-by: Si-Wei Liu --- hw/net/vhost_net.c | 4 +++- 1 file changed, 3 insertions(+), 1