summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-protocols/quagga/files/quagga-Avoid-duplicate-connected-address.patch
Commit message (Collapse)AuthorAgeFilesLines
* quagga: Avoid duplicate connected address adding to the listXufeng Zhang2013-11-261-0/+54
commit 27ba970b9("quagga/ripd: Fix two bugs after received SIGHUP signal") introduces an regression: ifp->connected list is cleaned up when ripd is restarting, however, for interface addresses which are not specified in ripd configuration file, they are never to be added into ifp->connected again, this will lead to some abnormal behavior for route advertising. Instead of cleaning up the ifp->connected list to avoid duplicated connected address being added into this list, we can check this condition during interface address adding process and return early when an identical address has already been added. Signed-off-by: Xufeng Zhang <xufeng.zhang@windriver.com> Signed-off-by: Joe MacDonald <joe@deserted.net>