mirror of
https://github.com/cloudnativelabs/kube-router.git
synced 2025-11-19 03:51:37 +01:00
Added the following items to the original logic: * Added map route entry deletion on withdrawl so that the system doesn't incorrectly sync it back to the kernel's routing table * Added an immediate route sync upon BGP path receive * Added a mutex to ensure that deleted routes aren't accidentally synced back to the system * Added stopCh and wg (wait group) handling * Increase default sync time from 15 seconds to 1 minute since this scenario is unlikely and netlink calls could potentially be burdensome in large clusters.