aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/crypto_ipsecmb/FEATURE.yaml
diff options
context:
space:
mode:
authorAlexander Chernavin <achernavin@netgate.com>2023-05-22 14:27:24 +0000
committerDave Wallace <dwallacelf@gmail.com>2023-12-01 19:26:17 +0000
commit74a7a5ae0853e670885988adb795a735fd7334e7 (patch)
tree9fe4090594bb261b61506c2cbf3032aecc2fd6f5 /src/plugins/crypto_ipsecmb/FEATURE.yaml
parent70591c147d11bc55c64c15546158c31ced3cd1df (diff)
ethernet: run callbacks for subifs too when mac changes
When MAC address changes for an interface, address change callbacks are executed for it. In turn adjacencies register a callback for MAC address changes to be able to update their rewrite strings accordingly. Subinterfaces inherit MAC address from the parent interface. When MAC address of the parent interface changes, it also implies MAC address change for its subinterfaces. The problem is that this is currently not considered when address change callbacks are executed. After MAC address change on the parent interface, packets sent from subinterfaces might have wrong source MAC address as the result of stale adjacencies. For example, ARP messages might be sent with the wrong (previous) MAC address and address resolution will fail. With this fix, when address change callbacks are executed for an interface, they will be also executed for its subinterfaces. And adjacencies will be able to update accordingly. Type: fix Change-Id: I87349698c10b9c3a31a28c0287e6dc711d9413a2 Signed-off-by: Alexander Chernavin <achernavin@netgate.com> (cherry picked from commit 8a92b68bc8eaaec48d144fba62490a32f28eb422)
Diffstat (limited to 'src/plugins/crypto_ipsecmb/FEATURE.yaml')
0 files changed, 0 insertions, 0 deletions