From 429ac78cc64e0e29bab7cbc00ee991abcdec3f81 Mon Sep 17 00:00:00 2001 From: Paul Jakma Date: Thu, 15 Jun 2006 18:40:49 +0000 Subject: [ospfd] Fix multicast membership drop bug 2006-06-15 Paul Jakma * Reported by Milan Koci * ospf_interface.h: (struct ospf_if_info) Add reference counts for multicast group memberships. Add various macros to help manipulate/check membership state. * ospf_interface.c: (ospf_if_set_multicast) Maintain the ospf_if_info reference counts, and only actually drop memberships if it hits 0, to avoid losing membership when OSPF is disabled on an interface with multiple active OSPF interfaces. * ospf_packet.c: (ospf_{hello,read}) Use the new macros to check/set multicast membership. * ospf_vty.c: (show_ip_ospf_interface_sub) ditto. --- ospfd/ChangeLog | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'ospfd/ChangeLog') diff --git a/ospfd/ChangeLog b/ospfd/ChangeLog index 34d7c4df..b7f2c95f 100644 --- a/ospfd/ChangeLog +++ b/ospfd/ChangeLog @@ -1,3 +1,18 @@ +2006-06-15 Paul Jakma + + * ospf_interface.h: (struct ospf_if_info) Add reference counts + for multicast group memberships. Add various macros to help + manipulate/check membership state. + * ospf_interface.c: (ospf_if_set_multicast) Maintain the + ospf_if_info reference counts, and only actually drop + memberships if it hits 0, to avoid losing membership when + OSPF is disabled on an interface with multiple active OSPF + interfaces. + * ospf_packet.c: (ospf_{hello,read}) Use the new macros to + check/set + multicast membership. + * ospf_vty.c: (show_ip_ospf_interface_sub) ditto. + 2006-05-31 Paul Jakma * ospf_lsdb.c: (ospf_lsdb_delete) robustify against NULL arguments, -- cgit v1.2.1