Date: Fri, 21 Feb 2003 21:46:14 -0500 (EST) From: Robert Watson <rwatson@freebsd.org> To: "Daniel C. Sobral" <dcs@tcoip.com.br> Cc: current@freebsd.org Subject: Re: Witness This Message-ID: <Pine.NEB.3.96L.1030221214558.51511A-100000@fledge.watson.org> In-Reply-To: <Pine.NEB.3.96L.1030221213431.47317A-100000@fledge.watson.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.96L.1030221214558.51511A-100000>