CVSROOT:        /cvs
Module name:    src
Changes by:     [EMAIL PROTECTED]       2008/10/09 10:00:07

Modified files:
        sys/kern       : uipc_socket.c 
        sys/sys        : socketvar.h 

Log message:
Change sb_timeo to unsigned, so that even if some calculation (ie. n * HZ)
becomes a very large number it will not wrap the short into a negative
number and screw up timeouts.  It will simply become a max of 65535.  Since
this happens when HZ is cranked to a high number, this will still only take
n seconds, or less.  Safer than crashing.
Prompted by PR 5511
ok guenther

Reply via email to