Re: [PATCH] net/tap: fix add qdisc failed when create tap

2025-05-20 Thread Stephen Hemminger
On Mon, 12 May 2025 16:22:04 +0800 luyan <973788...@qq.com> wrote: > From: luyan > > The errno variable was assigned a positive value in the previous handling, > but here it is compared against -EEXIST, > When the tap already exists, this would falsely report an error. > > Signed-off-by: luyan

[PATCH] net/tap: fix add qdisc failed when create tap

2025-05-12 Thread luyan
From: luyan The errno variable was assigned a positive value in the previous handling, but here it is compared against -EEXIST, When the tap already exists, this would falsely report an error. Signed-off-by: luyan --- drivers/net/tap/tap_tcmsgs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 de