diff options
author | Mark Stapp <mjs@cisco.com> | 2024-11-21 22:17:06 +0100 |
---|---|---|
committer | Mark Stapp <mjs@cisco.com> | 2024-12-05 15:23:53 +0100 |
commit | 079ee236ec8ef0ef04d5a41bcd30e20a911f09bf (patch) | |
tree | 100157c6b4d2b0e3caa354aa4ad1fabc58862904 | |
parent | zebra: remove thread-unsafe debugs from netlink route encode (diff) | |
download | frr-079ee236ec8ef0ef04d5a41bcd30e20a911f09bf.tar.xz frr-079ee236ec8ef0ef04d5a41bcd30e20a911f09bf.zip |
zebra: remove thread-unsafe debug from netlink nhg encoder
Remove use of vrf name, which isn't thread-safe.
Signed-off-by: Mark Stapp <mjs@cisco.com>
-rw-r--r-- | zebra/rt_netlink.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/zebra/rt_netlink.c b/zebra/rt_netlink.c index ed188ee6c..b32882e85 100644 --- a/zebra/rt_netlink.c +++ b/zebra/rt_netlink.c @@ -3288,9 +3288,8 @@ ssize_t netlink_nexthop_msg_encode(uint16_t cmd, nexthop_done: if (IS_ZEBRA_DEBUG_KERNEL) - zlog_debug("%s: ID (%u): %pNHv(%d) vrf %s(%u) %s ", + zlog_debug("%s: ID (%u): %pNHv(%d) vrf %u %s ", __func__, id, nh, nh->ifindex, - vrf_id_to_name(nh->vrf_id), nh->vrf_id, label_buf); } |