]> git.puffer.fish Git - mirror/frr.git/commit
lib: fix segfault on exit caused by interface removal 427/head
authorRenato Westphal <renato@opensourcerouting.org>
Wed, 26 Apr 2017 14:17:38 +0000 (11:17 -0300)
committerRenato Westphal <renato@opensourcerouting.org>
Fri, 28 Apr 2017 18:38:00 +0000 (15:38 -0300)
commitef04b19249ec3211614784c3c8791bfabe7d640c
tree17aa4b80d85a1fa62e3e0777f029d0363fcee8b0
parent40d3ecc35c73821841b6890322b2e274e2c520cd
lib: fix segfault on exit caused by interface removal

Add missing bits to properly unlink interface in the if_unlink_per_ns()
function.

In the long term we should convert if_table to use a more convenient
data structure like a red-black tree instead of a routing table.

Fixes issue #398.

Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
zebra/interface.c