(Sorry the original issue description was almost wrong due to a mixture of:
a race condition in ifstate were two processes have used the same netlink socket in their IPRoute instances resulting in corrupted netlink messages
/me seeing a ipv6 address related decoding error... while having in mind that there was a new protocol attribute for ip addresses in recent linux kernel releases :facepalm: )
Here is the dump for IPRoute.get_addr() on linux 6.6 having a link-local address from SLAAC and a manually configured one:
The unknown header is the proto attribute, isn't it?
# ip -d addr show dev vlan2 | tail -n 4
inet6 fe80::290:bff:fea0:f19d/64 scope link proto kernel_ll
valid_lft forever preferred_lft forever
inet6 fe80::defa/64 scope link
valid_lft forever preferred_lft forever
(Sorry the original issue description was almost wrong due to a mixture of:
Here is the dump for
IPRoute.get_addr()
on linux 6.6 having a link-local address from SLAAC and a manually configured one:The unknown header is the proto attribute, isn't it?