Date: Tue, 21 Mar 2000 06:40:12 -0800 (PST) From: elemiere@matra-ms2i.fr To: freebsd-gnats-submit@FreeBSD.org Subject: i386/17526: PB of frequency heuristic in uipc_socket.c in FreeBSD 3.4 Message-ID: <200003211440.GAA69316@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 17526 >Category: i386 >Synopsis: PB of frequency heuristic in uipc_socket.c in FreeBSD 3.4 >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Mar 21 06:50:02 PST 2000 >Closed-Date: >Last-Modified: >Originator: Eric Lemiere >Release: FreeBSD 3.4 >Organization: MS&I >Environment: >Description: Here it is: When configuring my kernel with the option HZ = 1000 instead of HZ = 100 , the following lines in uipc_socket.c lead to a systematic error. ---------------------------------------------- case SO_RCVTIMEO: error = sooptcopyin(sopt, &tv, sizeof tv, sizeof tv); if (error) goto bad; if (tv.tv_sec > SHRT_MAX / hz - hz) { error = EDOM; goto bad; } ---------------------------------------------- Would you please chagne your heuristic, so as to change to 1000Hz? Thanks >How-To-Repeat: Kernel configuration >Fix: changed the heuristic, but don't know the overall impact... >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200003211440.GAA69316>