From owner-freebsd-current Fri Feb 21 18:46:28 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4F17A37B401 for ; Fri, 21 Feb 2003 18:46:27 -0800 (PST) Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6C8BE43F85 for ; Fri, 21 Feb 2003 18:46:26 -0800 (PST) (envelope-from robert@fledge.watson.org) Received: from fledge.watson.org (fledge.pr.watson.org [192.0.2.3]) by fledge.watson.org (8.12.6/8.12.5) with SMTP id h1M2kEP4051800; Fri, 21 Feb 2003 21:46:15 -0500 (EST) (envelope-from robert@fledge.watson.org) Date: Fri, 21 Feb 2003 21:46:14 -0500 (EST) From: Robert Watson X-Sender: robert@fledge.watson.org To: "Daniel C. Sobral" Cc: current@freebsd.org Subject: Re: Witness This In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Revised patch without typo attached. Robert N M Watson FreeBSD Core Team, TrustedBSD Projects robert@fledge.watson.org Network Associates Laboratories Index: tcp_subr.c =================================================================== RCS file: /data/fbsd-cvs/ncvs/src/sys/netinet/tcp_subr.c,v retrieving revision 1.155 diff -u -r1.155 tcp_subr.c --- tcp_subr.c 21 Feb 2003 23:17:12 -0000 1.155 +++ tcp_subr.c 22 Feb 2003 02:44:42 -0000 @@ -484,7 +484,7 @@ m->m_pkthdr.len = tlen; m->m_pkthdr.rcvif = (struct ifnet *) 0; #ifdef MAC - if (tp != NULL) { + if (tp != NULL && tp->t_inpcb != NULL) { /* * Packet is associated with a socket, so allow the * label of the response to reflect the socket label. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message