From owner-cvs-src@FreeBSD.ORG Sat Jan 10 00:53:02 2004 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 56CF716A4CE; Sat, 10 Jan 2004 00:53:02 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8794143D46; Sat, 10 Jan 2004 00:53:01 -0800 (PST) (envelope-from truckman@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.10/8.12.10) with ESMTP id i0A8r10B059629; Sat, 10 Jan 2004 00:53:01 -0800 (PST) (envelope-from truckman@repoman.freebsd.org) Received: (from truckman@localhost) by repoman.freebsd.org (8.12.10/8.12.10/Submit) id i0A8r0lc059626; Sat, 10 Jan 2004 00:53:00 -0800 (PST) (envelope-from truckman) Message-Id: <200401100853.i0A8r0lc059626@repoman.freebsd.org> From: Don Lewis Date: Sat, 10 Jan 2004 00:53:00 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/netinet tcp_usrreq.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Jan 2004 08:53:02 -0000 truckman 2004/01/10 00:53:00 PST FreeBSD src repository Modified files: sys/netinet tcp_usrreq.c Log: Check that sa_len is the appropriate value in tcp_usr_bind(), tcp6_usr_bind(), tcp_usr_connect(), and tcp6_usr_connect() before checking to see whether the address is multicast so that the proper errno value will be returned if sa_len is incorrect. The checks are identical to the ones in in_pcbbind_setup(), in6_pcbbind(), and in6_pcbladdr(), which are called after the multicast address check passes. MFC after: 30 days Revision Changes Path 1.92 +8 -0 src/sys/netinet/tcp_usrreq.c