
5.16 Home Agent and Correspondent Node 633
836 * references from other binding caches.
837 */
838 llmbc = mbc;
839 for (gmbc = LIST_FIRST(&mip6_bc_list);
840 gmbc;
841 gmbc = gmbc_next) {
842 gmbc_next = LIST_NEXT(gmbc, mbc_entry);
843 if (((gmbc->mbc_flags & IP6MU_LINK) != 0)
844 && ((gmbc->mbc_flags & IP6MU_CLONED) == 0)
845 && (gmbc->mbc_llmbc == llmbc)) {
846 gmbc_next = LIST_NEXT(gmbc, mbc_entry);
847 if (MIP6_IS_BC_DAD_WAIT(gmbc)) {
848 mip6_dad_stop(gmbc);
849 gmbc->mbc_llmbc = NULL;
850 error = mip6_bc_list_remove(
851 &mip6_bc_list, llmbc);
852 if (error) {
....
856 /* what should I do? */
857 }
858
859 /* return a binding ack. */
860 mip6_bc_send_ba(&gmbc->mbc_addr, ...