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>
Thu, 4 Jan 2024 12:35:43 +0000 (13:35 +0100)
commit2703f740a23ecc8d5cd7a7ebc11a970c1364d215
tree3efba28c7e5d4546b1d3708f05d2f876b4221607
parent2bbe49c36224efa2fd7379e259bb25b06aa520c0
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