From owner-cvs-all Thu May 18 17:55:24 2000 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 59D2A37B6AD; Thu, 18 May 2000 17:55:22 -0700 (PDT) (envelope-from peter@FreeBSD.org) Received: (from peter@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id RAA95522; Thu, 18 May 2000 17:55:22 -0700 (PDT) (envelope-from peter@FreeBSD.org) Message-Id: <200005190055.RAA95522@freefall.freebsd.org> From: Peter Wemm Date: Thu, 18 May 2000 17:55:21 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/netinet in_pcb.c Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG peter 2000/05/18 17:55:21 PDT Modified files: sys/netinet in_pcb.c Log: Return ECONNRESET instead of EINVAL if the connection has been shot down as a result of a reset. Returning EINVAL in that case makes no sense at all and just confuses people as to what happened. It could be argued that we should save the original address somewhere so that getsockname() etc can tell us what it used to be so we know where the problem connection attempts are coming from. Revision Changes Path 1.63 +4 -4 src/sys/netinet/in_pcb.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message