sonic-buildimage/src/lldpd
Zhaohui Sun f9578d92d0
[202012][LLDPD] fix to port remove and immediately create problem (#12467)
Why I did it
Cherry pick #9519.

when we remove a port and add it back immediately - lldp is keep failing
warning message keeps appearing:
[WARN/lldp] unable to send packet on real device for Ethernet4: No such device or address

How I did it
on delete link events it will immediately execute delete without using aggregate events mechanism.

How to verify it
Run autorestart/test_container_autorestart.py in sonic-mgmt repo
Or manual test steps:
sudo config feature autorestart swss disabled
docker exec swss supervisorctl status
docker exec swss kill -SIGKILL 111(orchagent)
docker inspect -f {{.State.Running}} swss => make sure swss is running
docker exec swss supervisorctl start orchagent

Signed-off-by: Zhaohui Sun <zhaohuisun@microsoft.com>
2022-10-26 11:13:48 +08:00
..
patch [202012][LLDPD] fix to port remove and immediately create problem (#12467) 2022-10-26 11:13:48 +08:00
.gitignore Reorganize .gitignore files (#4707) 2020-06-09 21:04:55 -07:00
Makefile [build]: fix dpkg admindir corruption issue in parallel build (#6408) 2021-01-12 06:22:51 -08:00