diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-10-23 10:10:06 -0400 | 
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-10-27 10:41:07 -0400 | 
| commit | 3d468f66043d444476004d004954503b17fdf96d (patch) | |
| tree | d140210910c932bbaef3cdc93c3cc44b605d961a /zebra/rt_netlink.h | |
| parent | e4715aed63b9b791f35baa8abeb473870bb62213 (diff) | |
zebra: Move clear_nhlfe_installed to calling functions
The function clear_nhlfe_installed is to be called
when we get a install failure of some sort for
a lsp change.  Since an install failure can happen
in both linux and openBSD moving the function call
northbound is a good idea.
I've also added it to the kernel_del_lsp for completeness
on failure as well, even though neither linux or openBSD
currently can fail a uninstall.
This still leaves the hole where if we have multiple
nhlfes and have an install failure we are not quite
doing the right thing by just blanketly calling
clear_nhlfe_installed.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'zebra/rt_netlink.h')
| -rw-r--r-- | zebra/rt_netlink.h | 1 | 
1 files changed, 0 insertions, 1 deletions
diff --git a/zebra/rt_netlink.h b/zebra/rt_netlink.h index 980ff915cc..afb03f878d 100644 --- a/zebra/rt_netlink.h +++ b/zebra/rt_netlink.h @@ -54,7 +54,6 @@  void rt_netlink_init(void); -extern void clear_nhlfe_installed(zebra_lsp_t *lsp);  extern int netlink_mpls_multipath(int cmd, zebra_lsp_t *lsp);  extern int netlink_route_change(struct sockaddr_nl *snl, struct nlmsghdr *h,  | 
