Move the create/deletion of nexthop components (addrs ifs
commit9edf29a06d1fe95d815b6c2575b81c5b6f16b2eb
authorJames R. Leu <jleu@mindspring.com>
Tue, 17 May 2005 01:57:29 +0000 (16 19:57 -0600)
committerJames R. Leu <jleu@mindspring.com>
Tue, 17 May 2005 01:57:29 +0000 (16 19:57 -0600)
tree31125c48f9d1f057a85e3a658d055fc765b1fb30
parentcc8208d86e3f4591d8e4bd2167c277bfd1066800
Move the create/deletion of nexthop components (addrs ifs
outlabels) into nexthop create/delete (from fec add/delete nexthop)
To facilitate the correct destructions of nexthops, the nexthop
componentes cannot hold a refcount for the nexthop.  Since
the destruction of a nexthop will result in the components
reference being dropped, there is no danger of a nexthop disappearing
and leaving the components dangling.

[git-p4: depot-paths = "//depot/ldp-portable/": change = 1144]
ldp/ldp_addr.c
ldp/ldp_fec.c
ldp/ldp_if.c
ldp/ldp_nexthop.c
ldp/ldp_outlabel.c