]> git.puffer.fish Git - matthieu/frr.git/commit
rip(ng)d: fix interfaces cleaning
authorIgor Ryzhov <iryzhov@nfware.com>
Fri, 9 Oct 2020 12:14:58 +0000 (15:14 +0300)
committerIgor Ryzhov <iryzhov@nfware.com>
Fri, 9 Oct 2020 12:14:58 +0000 (15:14 +0300)
commiteb6b38854f0591c853e27d41392fa0d047705eeb
treea642a1c62d3343667d33755e41090b079a234e06
parente13013d4bad0be7618296cd333cb56ade09d7c83
rip(ng)d: fix interfaces cleaning

rip(ng)d_instance_disable unlinks the vrf from the instance which means
that rip(ng)_interfaces_clean never works, because rip(ng)->vrf is
always NULL there. This leads to the crash #6477.

Clean interfaces before disabling the instance to fix the issue.

Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
ripd/ripd.c
ripngd/ripngd.c