Revert "system-linux: set pending to 0 on ifindex found or error for if_get_master"
authorFelix Fietkau <nbd@nbd.name>
Tue, 19 Dec 2023 21:32:56 +0000 (22:32 +0100)
committerFelix Fietkau <nbd@nbd.name>
Tue, 19 Dec 2023 21:34:14 +0000 (22:34 +0100)
commita2d32f0dcf16880226680d07b07b249f77a3af58
tree75726d249a7843e48883f8175f8b458eeac07a3c
parentc59457f697095631559d7e268ea575e7568d8866
Revert "system-linux: set pending to 0 on ifindex found or error for if_get_master"

This reverts commit 66a7652176a7580b55076a0975b77c2bfb5bf7ce.
Users reported that netifd hangs after this commit. I suspect that the added
optimization which sets data->pending to false early might be the cause.
It might leave unprocessed netlink messages in the socket, which could mess up
the next netlink call.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
system-linux.c