HomeFreeBSD

Enqueue lladdr_task to update link level address of vlan, when its parent

Description

Enqueue lladdr_task to update link level address of vlan, when its parent
interface has changed.

During vlan reconfiguration without destroying interface, it is possible,
that parent interface will be changed. This usually means, that link
layer address of vlan will be different. Therefore we need to update all
associated with vlan's addresses permanent llentries - NDP for IPv6
addresses, and ARP for IPv4 addresses. This is done via lladdr_task
execution. To avoid extra work, before execution do the check, that L2
address is different.

No objection from: network
Obtained from: Yandex LLC
MFC after: 1 week
Sponsored by: Yandex LLC
Differential Revision: https://reviews.freebsd.org/D22243

Details

Provenance
aeAuthored on
Differential Revision
D22243: Schedule link address update when vlan's parent interface is changed
Parents
rS354442: Added a regression test.
Branches
Unknown
Tags
Unknown