From owner-cvs-all Fri Jul 12 4: 9:58 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C006A37B400; Fri, 12 Jul 2002 04:09:53 -0700 (PDT) Received: from gw.catspoiler.org (217-ip-163.nccn.net [209.79.217.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1F99043E42; Fri, 12 Jul 2002 04:09:53 -0700 (PDT) (envelope-from dl-freebsd@catspoiler.org) Received: from mousie.catspoiler.org (mousie.catspoiler.org [192.168.101.2]) by gw.catspoiler.org (8.12.5/8.12.5) with ESMTP id g6CB9hwr013769; Fri, 12 Jul 2002 04:09:47 -0700 (PDT) (envelope-from dl-freebsd@catspoiler.org) Message-Id: <200207121109.g6CB9hwr013769@gw.catspoiler.org> Date: Fri, 12 Jul 2002 04:09:43 -0700 (PDT) From: Don Lewis Subject: Re: cvs commit: src/sys/netinet udp_usrreq.c To: hsu@FreeBSD.org Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org, jlemon@FreeBSD.org In-Reply-To: <200207121107.g6CB7Cwr013757@gw.catspoiler.org> MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 12 Jul, Don Lewis wrote: > I've been doing some digging through the code and it looks to me like > both the INP_LOCK() and inp->inp_socket == NULL test can be eliminated. > I think the INP_INFO_RUNLOCK provides sufficient protection. s/RUNLOCK/RLOCK/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message