[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

(usagi-users 00475) Re: IPv6: Incoming RA source-address may be non- link-local



Pekka Savola writes:
 > On Wed, 2 May 2001, Pekka Savola wrote:
 > > In net/ipv6/ndisc,  ndisc_router_discovery function, where IPv6 router
 > > advertisements are being processed, there is no check that RA is coming
 > > from link-local address.
 > 
 > The following patch (note! untested!) should do it.  Copied with small
 > modification to the printk from ndisc_redirect_rcv:
 > 
 > --- ndisc.c~	Mon Apr 30 12:12:44 2001
 > +++ ndisc.c	Thu May  3 13:32:37 2001
 > @@ -587,6 +587,11 @@

I would really like to see these kernel messages properly
net_ratelimit()'d.  Once you test this patch for proper functionalty,
could you net_ratelimit() the printk's in this file as well and send
me the updated patch?

Thanks.

Later,
David S. Miller
davem@xxxxxxxxxx