]> git.puffer.fish Git - mirror/frr.git/commit
eigrpd: Fix eigrp crash on shut of a interface 3072/head
authorDonald Sharp <sharpd@cumulusnetworks.com>
Sat, 22 Sep 2018 16:43:32 +0000 (12:43 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Sat, 22 Sep 2018 16:43:32 +0000 (12:43 -0400)
commit952248db6080fb3bff9ef1ee2f84af84e7c078b5
tree78aa5fbc156434b5015bfe458cb0e6019206c4f5
parent7c12afcf80a4252fe9087dbe14e917f362a23dc4
eigrpd: Fix eigrp crash on shut of a interface

The eigrp interface structure was storing a pointer to the
connected interface structure and on shutdown of an interface
this would cause zebra to call eigrp back with a shutdown of
that interface, as part of that operation the connected interface
structure is being deleted, but eigrp was keeping a pointer to
the connected structure.  At the same time we were keeping the address
of the connected structure and this is all we need, so keep a copy
of that data and use that instead.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
eigrpd/eigrp_interface.c
eigrpd/eigrp_network.c
eigrpd/eigrp_structs.h