From deb1561c1824d0a5215c8fcd0084393090a6567e Mon Sep 17 00:00:00 2001 From: Paul Jakma Date: Fri, 12 May 2006 23:07:27 +0000 Subject: [ospfd] CID #15, remove redundant NULL check in ism_change_state 2006-05-12 Paul Jakma * ospf_ism.c: (ism_change_state) NULL check on oi->area is useless, it's always valid. Only possibility where it couldn't be is if there is a race between abr_task and cleaning up oi's, in which case a NULL check here isn't going to do anything. Fixes CID #15. --- ospfd/ChangeLog | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'ospfd/ChangeLog') diff --git a/ospfd/ChangeLog b/ospfd/ChangeLog index 82e745ca..c9bdff65 100644 --- a/ospfd/ChangeLog +++ b/ospfd/ChangeLog @@ -16,6 +16,11 @@ * ospf_ia.c: (ospf_update_router_route) ospf->backbone could be NULL when passed to ospf_find_asbr_route_through_area, check for NULL first, CID #14. + * ospf_ism.c: (ism_change_state) NULL check on oi->area is + useless, it's always valid. Only possibility where it + couldn't be is if there is a race between abr_task and + cleaning up oi's, in which case a NULL check here isn't going + to do anything. Fixes CID #15. 2006-05-11 Paul Jakma -- cgit v1.2.1