CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]    2013/11/08 23:38:42

Modified files:
        sys/net        : if.h 
        sys/kern       : uipc_mbuf.c 

Log message:
ticks is compared against mcl_grown to see if time has elapsed since
the rx ring was last allowed to grow and then assigned to it. it
is erroneous to do this because mcl_grown is a u_int and ticks is an
int.

this makes mcl_grown an int, and follows the idiom in kern_timeout.c
of going "thing - ticks < diff", which better copes with ticks
wrapping around and being used to calculate relative intervals.

ok pirofti@ guenther@

Reply via email to