[PATCH] virtio: del net client if net_init_tap_one failed

2022-09-27 Thread luzhipeng
From: lu zhipeng If the net tap initializes successful, but failed during network card hot-plugging, the net-tap will remains, so cleanup. Signed-off-by: lu zhipeng --- net/tap.c | 18 -- 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/net/tap.c b/net/tap.c

Re: [PATCH] virtio: del net client if net_init_tap_one failed

2022-09-26 Thread Jason Wang
On Fri, Sep 23, 2022 at 11:56 PM luzhipeng wrote: > > From: lu zhipeng > > If the net tap initializes successful, but failed during > network card hot-plugging, the net-tap will remains, > so cleanup. > > Signed-off-by: lu zhipeng Applied. Thanks > --- > net/tap.c | 18 -- >

[PATCH] virtio: del net client if net_init_tap_one failed

2022-09-23 Thread luzhipeng
From: lu zhipeng If the net tap initializes successful, but failed during network card hot-plugging, the net-tap will remains, so cleanup. Signed-off-by: lu zhipeng --- net/tap.c | 18 -- 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/net/tap.c b/net/tap.c