CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected] 2010/04/20 03:02:13

Modified files:
        usr.sbin/bgpd  : rde_rib.c 

Log message:
prefix_unlink() must remove the rib entry. Currently this was only done
in prefix_destroy() but there is another caller of prefix_unlink() which
missed the rib_remove() resulting in tree corruption and possible crashes.
Doing the remove in prefix_unlink() is better since we do the same with the
prefix and rib & prefix are linked. Fix some comments to match code and
remove double call to pt_empty()/pt_remove().
Found while hacking on something else.

Reply via email to