diff options
| author | Philippe Guibert <philippe.guibert@6wind.com> | 2018-05-04 09:43:52 +0200 |
|---|---|---|
| committer | Philippe Guibert <philippe.guibert@6wind.com> | 2018-05-12 15:24:46 +0200 |
| commit | 8cfc9c5b3a6051c20f28c9dc01d5ee7264467851 (patch) | |
| tree | 7d7e8b5a6f625f08bb274948646ba81d6d5021b6 /lib/netns_linux.c | |
| parent | b4d130923622dca9592c67f3f580af0ff5aaf342 (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
