It works now. 

I always had problems with the failing recvmsg in rtnl_ext_listen. I
would expect there was a reason for it being there. This patch made the
trick:

--- mipv6-2.0.1/src/rtnl.c      2006-02-25 12:13:33.000000000 +0100
+++ mipv6-2.0.1-patched/src/rtnl.c      2006-04-21 16:34:18.000000000
+0200
@@ -133,11 +133,11 @@
                        int l = len - sizeof(*h);

                        if (l<0 || len>status)
-                               continue;
+                               break;

                        err = handler(&nladdr, h, jarg);
                        if (err < 0)
-                               continue;
+                               break;

                        status -= NLMSG_ALIGN(len);
                        h = (struct nlmsghdr*)((char*)h +
NLMSG_ALIGN(len));

When recvmsg fails you exit the "for h=" loop but stay in
rtnl_ext_listen waiting for the next return from recvmsg.
Obviously I have undone the patch you sent earlier (where you exit on
any error from recvmsg).

With this patch MN registers immediately with HA.

The patch is actually contained in the UMIP patch.

Leif


_______________________________________________
mipl mailing list
[email protected]
http://www.mobile-ipv6.org/cgi-bin/mailman/listinfo/mipl

Reply via email to