From owner-freebsd-bugs Tue Oct 30 13:50: 8 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 7823D37B407 for ; Tue, 30 Oct 2001 13:50:00 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f9ULo0N99015; Tue, 30 Oct 2001 13:50:00 -0800 (PST) (envelope-from gnats) Received: from mail.twwells.com (mail.twwells.com [206.55.70.12]) by hub.freebsd.org (Postfix) with ESMTP id 640CF37B403 for ; Tue, 30 Oct 2001 13:43:02 -0800 (PST) Received: from mail (helo=mail.twwells.com) by mail.twwells.com with local-bsmtp (Exim 3.32 #1) id 15ygf2-000CVU-00 for freebsd-gnats-submit@freebsd.org; Tue, 30 Oct 2001 15:43:04 -0600 Received: from server.twwells.com ( [206.55.70.12] ) by mail.twwells.com via tcp with esmtp id 3bdf1eaf-00bba9; Tue, 30 Oct 2001 21:42:07 +0000 Received: from root by server.twwells.com with local (Exim 3.33 #1) id 15yge6-000CUo-00 for FreeBSD-gnats-submit@freebsd.org; Tue, 30 Oct 2001 15:42:06 -0600 Message-Id: Date: Tue, 30 Oct 2001 15:42:06 -0600 From: Bourne-again Superuser Reply-To: Bourne-again Superuser To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: kern/31647: socket calls can return undocumented EINVAL Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 31647 >Category: kern >Synopsis: socket calls can return undocumented EINVAL >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Oct 30 13:50:00 PST 2001 >Closed-Date: >Last-Modified: >Originator: Bourne-again Superuser >Release: FreeBSD 4.4-STABLE i386 >Organization: >Environment: System: FreeBSD server.twwells.com 4.4-STABLE FreeBSD 4.4-STABLE #0: Fri Oct 12 02:24:59 CDT 2001 root@server.twwells.com:/usr/obj/usr/src/sys/SERVER_SMP i386 >Description: A rather large number of tcp routines begin with COMMON_START(), which can cause them to return EINVAL when inp_ppcb is null. In at least one system call, shutdown(), EINVAL is supposed only to mean that the second parameter is unacceptable. >How-To-Repeat: Read the relevant source and documents. >Fix: Either the documentation needs changing or the code does. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message