Skip to content

Resolve #3055 by examining RTM_NEWADDR, RTM_DELADDR messages contents

Artem Boldariev requested to merge 3055-examine-netlink-messages into main

This commit modifies the NetLink handling code in such a way that the contents of the messages we are interested in is checked for the local interfaces changes only. This helps to avoid spurious interface re-scans.

Closes #3055 (closed)

Possibly makes fixing #3056 (closed) unnecessary.

WIP: does not seem to work for IPv6 yet. Adding support for IPv6 by checking IFA_ADDRESS additionally to IFA_LOCAL changes leads to spurious re-scans again. Now it does.

Edited by Evan Hunt

Merge request reports