AW: [support] Delete tunnel with MCOA on HA

Romain KUNTZ kuntz at lsiit.u-strasbg.fr
Fri Sep 26 18:25:17 JST 2008


Hello Thomas,

On 2008/09/25, at 12:31, Thomas Kempf wrote:
> The tunnel with CoA 2a01:348:109:3000: I'm switching off. At  
> 12:13:30 there is the update for the CoA but the AP is already off.  
> So it is the one with lifetime ==0. At 12:13:58 the tunnel is  
> deleted. I guess by the timer.

When receiving a BU with lifetime 0, the HA is supposed to delete the  
corresponding binding cache entry which triggers the deletion of the  
tunnel. So the described behaviour seems odd to me.

You may want to check why the entry is not deleted. In src/ha.c (line  
1295) the following code is the one that is supposed to trigger the  
deletion of the binding cache. You could test what is the value of  
"lft" at that time:

1295     if (!tsisset(lft))
1296         /* MCoA: We delete one specific entry (bid is set)
1297          * or all entries for this HoA (if bid is set to 0)
1298          */
1299         bcache_delete(out.src, out.dst, bid);


Regards,
-- 
Romain KUNTZ
kuntz at lsiit.u-strasbg.fr
LSIIT - Networks and Protocols Team
http://clarinet.u-strasbg.fr/~kuntz/




More information about the Support mailing list