The following reply was made to PR kern/135067; it has been noted by GNATS.

From: Julian Elischer <[email protected]>
To: [email protected], [email protected]
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?
 
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "[email protected]"

Reply via email to