summaryrefslogtreecommitdiff
path: root/lib/netns_linux.c
diff options
context:
space:
mode:
authorPhilippe Guibert <philippe.guibert@6wind.com>2018-05-04 09:43:52 +0200
committerPhilippe Guibert <philippe.guibert@6wind.com>2018-05-12 15:24:46 +0200
commit8cfc9c5b3a6051c20f28c9dc01d5ee7264467851 (patch)
tree7d7e8b5a6f625f08bb274948646ba81d6d5021b6 /lib/netns_linux.c
parentb4d130923622dca9592c67f3f580af0ff5aaf342 (diff)
zebra: fix missing node attribute set in ifp
There are cases when switching from one netns to an other one, where the if_table registration by index has not been flushed. This fix mitigates the potential crashes, in case the ifp->node pointer is null, the value is overwritten by the route_node obtained. Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
Diffstat (limited to 'lib/netns_linux.c')
0 files changed, 0 insertions, 0 deletions