Hey,

I got this message after patching:

patching file src/rtnl.c
Hunk #1 FAILED at 133.
patch unexpectedly ends in middle of line
1 out of 1 hunk FAILED -- saving rejects to file
src/rtnl.c.rej
patch unexpectedly ends in middle of line


Is that normal?

--- "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:
> 
> --- 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
> 



        

        
                
___________________________________________________________________________ 
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

Reply via email to