summaryrefslogtreecommitdiff
path: root/zebra/kernel_socket.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2020-10-22 08:02:33 -0400
committerDonald Sharp <sharpd@nvidia.com>2020-10-22 08:02:33 -0400
commitb1b07ef5a690d5da78b549ede282ff479c98169d (patch)
treec19f2858bea20489da857fad69581c344f9704a3 /zebra/kernel_socket.c
parent3506f3f9077581de184c28220274a7afcf150506 (diff)
zebra: Do not delete nhg's when retain_mode is engaged
When `-r` is specified to zebra, on shutdown we should not remove any routes from the fib. This was a problem with nhg's on shutdown due to their ref-count behavior. Introduce a methodology where on shutdown we don't mess with the nexthop groups in the kernel. That way on next startup things will be ok. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'zebra/kernel_socket.c')
0 files changed, 0 insertions, 0 deletions