]> git.puffer.fish Git - mirror/frr.git/commit
isisd: Request SRv6 locator after zebra connection 18179/head
authorCarmine Scarpitta <cscarpit@cisco.com>
Sat, 15 Feb 2025 09:39:40 +0000 (10:39 +0100)
committerMergify <37929162+mergify[bot]@users.noreply.github.com>
Sat, 15 Feb 2025 14:40:39 +0000 (14:40 +0000)
commitc4ef0e37efe5461aa04c2982ace74fdae0d2081b
tree191c33cca4caa10d81fab0fafaf29ed0e9dd7ec6
parent5de0b8dc9d53811a7a381aede21ce04cb11e04e5
isisd: Request SRv6 locator after zebra connection

When SRv6 is enabled and an SRv6 locator is specified in the IS-IS
configuration, IS-IS may attempt to request SRv6 locator information from
zebra before the connection is fully established. If this occurs, the
request fails with the following error:

```
2025/02/14 21:41:20 ISIS: [HR66R-TWQYD][EC 100663302] srv6_manager_get_locator: invalid zclient socket
````

As a result, IS-IS is unable to obtain the locator information,
preventing SRv6 from working.

This commit fixes the issue by ensuring IS-IS requests SRv6 locator
information once the connection with zebra is successfully established.

Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
(cherry picked from commit f02dba19d20b0a53645a439924e736155c8de63f)
isisd/isis_zebra.c