In article <[EMAIL PROTECTED]> (at Thu, 26 Jan 2006 16:35:08 +0100),
Jean-Mickael Guerin <[EMAIL PROTECTED]> says:
> Following patch drops this flag. As you can see, it requires to set the
> flag back to RTF_EXPIRES in ndisc_router_discovery(), because
> rt6_add_dflt_router() asks a new route with RTF_EXPIRES flag set and
> rtmsg_info = 0.
> The issue is ndisc_router_discovery() sets itself rt6i_expires itself
> with the router lifetime found in RA.
Probably, the caller should not set RTF_EXPIRES when allocating
new one. Instead, set rt6i_expires and RTF_EXPIRES afterwards
(as your patch does).
And, please make your patch so that we can apply it by "patch -p1"
at the top directory of the tree; e.g.
% diff -u linux-2.6.15.{orig,fix}/net/ipv6/route.c > fix.patch
Thank you.
--yoshfuji
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html