Re: [ovs-dev] 回复: [PATCH v2] netdev-vport : Fix userspace tunnel ioctl(SIOCGIFINDEX) info logs.

2021-11-22 Thread Mike Pattrick
Hello linhuang, This is a good idea, but I've run into a few issues with this patch. There's still one instance of "type" that needs to be changed to dpif_type to fix compile. Also, the behaviour of strcmp is undefined if one of the pointers is NULL. On my system, it throws SIGSEGV. This causes

Re: [ovs-dev] 回复: [PATCH v2] netdev-vport : Fix userspace tunnel ioctl(SIOCGIFINDEX) info logs.

2021-11-20 Thread 0-day Robot
Bleep bloop. Greetings lin huang, I am a robot and I have tried out your patch. Thanks for your contribution. I encountered some error that I wasn't expecting. See the details below. git-am: error: cannot convert from eucgb2312_cn to UTF-8 fatal: could not parse patch Patch skipped due to pr

[ovs-dev] 回复: [PATCH v2] netdev-vport : Fix userspace tunnel ioctl(SIOCGIFINDEX) info logs.

2021-11-20 Thread lin huang
From: linhuang Userspace tunnel doesn't have a valid device in the kernel. So get_ifindex() function (ioctl) always get error during adding a port, deleting a port or updating a port status. The info log is "2021-08-29T09:17:39.830Z|00059|netdev_linux|INFO|ioctl(SIOCGIFINDEX) on vxlan_sys_4789 d