]> git.puffer.fish Git - matthieu/frr.git/commit
zebra: stop crash on process termination due to stale ifp->node
authorDon Slice <dslice@cumulusnetworks.com>
Tue, 18 Apr 2017 12:11:32 +0000 (08:11 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Tue, 18 Apr 2017 13:46:19 +0000 (09:46 -0400)
commitef01549170d412edb8f22519414108586e5ca219
treea710556694ef6d6d03352dea2a998337c7229802
parent7abc04e686fefeb76bc825e908837e55bec0efc7
zebra: stop crash on process termination due to stale ifp->node

Problem reported that crash occurred when stopping quagga in certain
circumstances.  Determined that this was due to a stale pointer on the
ifp for a deleted interface.  The ifp->node had been freed but the ifp
still kept a pointer to it, and when later the process was stopped, it
attempted to delete it again.

Ticket: CM-15550
Signed-off-by: Don Slice <dslice@cumulusnetworks.com>
Reviewed-by: Donald Sharp <sharpd@cumulusnetworks.com>
zebra/interface.c