From 478aab9812fe06d77fd2f4e0b773a6e1ede18a3a Mon Sep 17 00:00:00 2001 From: Paul Jakma Date: Mon, 3 Apr 2006 21:25:32 +0000 Subject: [ospfd] Fix virtual-link handling in nbrs route-table, exposed by bug#234 fix 2006-04-03 Paul Jakma * (general) Fix issues with handling of Vlinks and entries in the nbrs route-table which were highlighted by the nsm/nbr_self fixes from bug #234. Many thanks to Juergen Kammer for his help and efforts in testing out debug patches to pinpoint the issue. * ospf_interface.c: (ospf_vl_new) Add nbr_self for Vlink. * ospf_neighbor.c: (ospf_nbr_key) new static function, helper to create key in nbrs table for a given nbr. (ospf_nbr_delete) Use ospf_nbr_key. Add an assert() to document an expected state. (ospf_nbr_add_self) Ditto. (ospf_nbr_lookup_by_addr) Add an assert. * ospf_nsm.c: (nsm_kill_nbr) Can never kill the nbr_self psuedo-neighbour. --- ospfd/ChangeLog | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'ospfd/ChangeLog') diff --git a/ospfd/ChangeLog b/ospfd/ChangeLog index 265c9c76..ac596705 100644 --- a/ospfd/ChangeLog +++ b/ospfd/ChangeLog @@ -1,3 +1,20 @@ +2006-04-03 Paul Jakma + + * (general) Fix issues with handling of Vlinks and entries + in the nbrs route-table which were highlighted by the + nsm/nbr_self fixes from bug #234. Many thanks to Juergen + Kammer for his help and efforts in testing out debug patches to + pinpoint the issue. + * ospf_interface.c: (ospf_vl_new) Add nbr_self for Vlink. + * ospf_neighbor.c: (ospf_nbr_key) new static function, helper + to create key in nbrs table for a given nbr. + (ospf_nbr_delete) Use ospf_nbr_key. Add an assert() to + document an expected state. + (ospf_nbr_add_self) Ditto. + (ospf_nbr_lookup_by_addr) Add an assert. + * ospf_nsm.c: (nsm_kill_nbr) Can never kill the nbr_self + psuedo-neighbour. + 2006-03-27 Paul Jakma * ospf_lsa.c: (ospf_lsa_checksum) Add an explicit cast to avoid -- cgit v1.2.1