]> git.puffer.fish Git - matthieu/frr.git/commit
zebra: Update advertise-svi-ip MACIPs w/ new MAC
authorTrey Aspelund <taspelund@nvidia.com>
Sat, 28 May 2022 07:10:51 +0000 (03:10 -0400)
committerTrey Aspelund <taspelund@nvidia.com>
Sat, 28 May 2022 07:30:05 +0000 (03:30 -0400)
commit56599dd9c8c23d21170103bd4df2dff51055efbb
tree3cfd737786a6a41ef9fb0fb4982365897e5de8d5
parent859cca2f70636c978626c723e302921038b8beb4
zebra: Update advertise-svi-ip MACIPs w/ new MAC

When the kernel was sending an RTM_NEWLINK updating the MAC of a known
SVI, Type-2 routes created by advertise-svi-ip were not getting updated
with the new address.
This adds removal of any old Type-2 routes (with old MAC) and creation
of new Type-2 routes (with new MAC) into RTM_NEWLINK processing.

Fixes: #11174
Signed-off-by: Trey Aspelund <taspelund@nvidia.com>
zebra/zebra_vxlan.c