diff options
| author | Donald Sharp <sharpd@nvidia.com> | 2023-12-11 15:22:07 -0500 |
|---|---|---|
| committer | Donald Sharp <sharpd@nvidia.com> | 2023-12-11 15:22:07 -0500 |
| commit | 7cabd9361ca981c9f1becae2505d6fc35e32bd5f (patch) | |
| tree | ae935d984e58a2717b7bb3d85c770dde675f002b /lib/netns_linux.c | |
| parent | c783d5b698b77dfac44ffbd69ae9160a1723da6a (diff) | |
zebra: Properly unregister hook on shutdown
the zebra pseudo wire code was registering a callback
per vrf. These callbacks are not per vrf based. They
are vrf agnostic so this was a mistake. Modify the code
to on startup register once and on shutdown unregister once.
Finally rename the zebra_pw_init and zebra_pw_exit functions
to more properly reflect when they are called.
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'lib/netns_linux.c')
0 files changed, 0 insertions, 0 deletions
