You have to apply the patch Leif provided in his post (the lines from '--- mipv6'... to 'NLMSG_ALIGN()'... :

1. Copy/Paste the patch in a file: mipv6.patch
2. Enter you mipv6-2.0.1 directory
3. Execute: patch -p1 < mipv6.patch
4. The output should show you that src/rtnl.c was modified
5. Re-compile and re-install mip6d and voila!


The UMIP patch is a patch for MIPL 2.0-rc3 sent by the USAGI guys a few weeks ago. You can have a look at the mailing-list archive to find more details.



larafa sondes wrote:
Hi,

I am sorry but I am just a beginner in Mobile IPv6-:)
So I understand  with difficulty some of the details
you put in your mail.
Could you please help me to understand what I have to
do?
Especially:
--- "Buch-Pedersen, Leif" <[EMAIL PROTECTED]>
a écrit :

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:


Where can I find the following patch? or do I have to
change some lines in the patch provided in
www.mobile-ipv6.org

--- 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.

what is UMIP patch?

Thank you very much!

regards,

Sondes

Leif


_______________________________________________
mipl mailing list
[email protected]

http://www.mobile-ipv6.org/cgi-bin/mailman/listinfo/mipl



        

        
                
___________________________________________________________________________ Faites de Yahoo! votre page d'accueil sur le web pour retrouver directement vos services préférés : vérifiez vos nouveaux mails, lancez vos recherches et suivez l'actualité en temps réel. Rendez-vous sur http://fr.yahoo.com/set

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


--
B e n j a m i n   T h e r y  - BULL/DT/Open Software R&D

   http://www.bull.com

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

Reply via email to