]> git.puffer.fish Git - mirror/frr.git/commit
zebra: Lookup up nlsock * one time in call tree
authorDonald Sharp <sharpd@nvidia.com>
Mon, 3 Jul 2023 20:49:34 +0000 (16:49 -0400)
committerDonald Sharp <sharpd@nvidia.com>
Mon, 10 Jul 2023 13:06:40 +0000 (09:06 -0400)
commitf4c29914b568e012322786c769ac7a3c9a66499a
treea34b2fc5757eedb74fed69cba8e68d330b29903d
parent162b61ec162d07c673529407234b2a29368ff9ee
zebra: Lookup up nlsock * one time in call tree

Code is looking up the nlsock to generate the batch messages
and then looking it up again to get the response.  Let's
just look it up one time.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
zebra/kernel_netlink.c