Commit dca78d8
authored
[Fdbsyncd] Bug Fix for remote MAC move to local MAC and Fix for Static MAC advertisement in EVPN. (sonic-net#2521)
- What I did
On local MAC learning, update the MAC entry as local then delete the DST entry from the Kernel for remote MAC. This will make sure that FRR doesn't reinstall the remote MAC(sonic-net#12363)
When installing the static MAC in the kernel set the sticky flag as well. (sonic-net#12419)
- How I did it
Move the DST entry delete code after the MAC update code.(sonic-net#12363)
Pass sticky flag to the kernel in fdbsyncd code.((sonic-net#12419)
- How to verify it
Tested MAC move from remote to local and verified the MAC is local in Kernel.(sonic-net#12363)
Verified in Kernel that sticky bit is set and the same as advertised by FRR in the network.((sonic-net#12419)
Signed-off-by: kishore.kunal@broadcom.com1 parent 28aa309 commit dca78d8
1 file changed
Lines changed: 12 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
307 | 307 | | |
308 | 308 | | |
309 | 309 | | |
310 | | - | |
311 | | - | |
312 | | - | |
313 | | - | |
314 | | - | |
315 | | - | |
316 | | - | |
317 | 310 | | |
318 | 311 | | |
319 | 312 | | |
| |||
335 | 328 | | |
336 | 329 | | |
337 | 330 | | |
338 | | - | |
| 331 | + | |
339 | 332 | | |
340 | 333 | | |
341 | 334 | | |
| |||
347 | 340 | | |
348 | 341 | | |
349 | 342 | | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
350 | 354 | | |
351 | 355 | | |
352 | 356 | | |
| |||
0 commit comments