Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[macsecmgr]: Fix cleanup macsec objs if container stop (#2376)
What I did Introduce SIGTERM handlers in macsecmgrd. When the macsecmgrd exit with signal SIGTERM, all existing MACsec objs will clean up. Adjust the cleanup order to follow the wpa_supplicant did (Remove Ingress objs firstly and Egress objs then). Why I did it When “docker stop”, macsecmgrd need also to cleanup all exiting MACsec objs. How I verified it Try "sudo config feature state macsec disabled`, the MACsec objs were removed. Signed-off-by: Ze Gan <[email protected]>
- Loading branch information