From: Donald Sharp Date: Wed, 19 Dec 2018 00:34:22 +0000 (-0500) Subject: zebra: Make label processing guaranteed to be unique X-Git-Tag: frr-7.0.1~87^2~1 X-Git-Url: https://git.proxmox.com/?p=mirror_frr.git;a=commitdiff_plain;h=c2519893e0240d06c90bc7efa825875d69bdf148 zebra: Make label processing guaranteed to be unique The label processing for socket installs was not ensuring that each nexthop would not accidently use the last nexthops value. Signed-off-by: Donald Sharp --- diff --git a/zebra/rt_socket.c b/zebra/rt_socket.c index 23beeaebb..5ce1ddfd4 100644 --- a/zebra/rt_socket.c +++ b/zebra/rt_socket.c @@ -183,6 +183,7 @@ static int kernel_rtm(int cmd, const struct prefix *p, !CHECK_FLAG(nexthop->flags, NEXTHOP_FLAG_ACTIVE)) continue; + smplsp = NULL; gate = false; char gate_buf[INET_ADDRSTRLEN] = "NULL";