Date: Sat, 30 May 2009 02:20:04 GMT From: Julian Elischer <julian@elischer.org> To: freebsd-net@FreeBSD.org Subject: Re: kern/135067: [patch] [fib] Incorrect KASSERTs in sys/net/route.c Message-ID: <200905300220.n4U2K4Nn092970@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/135067; it has been noted by GNATS. From: Julian Elischer <julian@elischer.org> To: bug-followup@FreeBSD.org, mjguzik@gmail.com Cc: Subject: Re: kern/135067: [patch] [fib] Incorrect KASSERTs in sys/net/route.c Date: Fri, 29 May 2009 18:58:48 -0700 if you have 16 fibs then valid values are 0,1,2,.....14,15 if fibnum == rt_numfibs then that is an error. thus in setfib... if uap->numfbs is 16 OR GREATER it is and EINVAL and the kasserts in route.c need to check that fibnum is LESS THAN rt_numfibs. so this looks correct to me.. what makes you think there is an error?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200905300220.n4U2K4Nn092970>