Re: [PATCH 5/7] vhost-vdpa: fix improper cleanup in net_init_vhost_vdpa

2022-03-30 Thread Jason Wang
On Wed, Mar 30, 2022 at 2:33 PM Si-Wei Liu wrote: > > ... such that no memory leaks on dangling net clients in case of > error. > > Signed-off-by: Si-Wei Liu Acked-by: Jason Wang > --- > net/vhost-vdpa.c | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/net/vhost-vdp

[PATCH 5/7] vhost-vdpa: fix improper cleanup in net_init_vhost_vdpa

2022-03-29 Thread Si-Wei Liu
... such that no memory leaks on dangling net clients in case of error. Signed-off-by: Si-Wei Liu --- net/vhost-vdpa.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/net/vhost-vdpa.c b/net/vhost-vdpa.c index 1e9fe47..df1e69e 100644 --- a/net/vhost-vdpa.c +++ b/net/vhost-v