Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 May 2004 18:33:43 -0700 (PDT)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 52188 for review
Message-ID:  <200405040133.i441Xh1h098245@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help

http://perforce.freebsd.org/chv.cgi?CH=52188

Change 52188 by rwatson@rwatson_tislabs on 2004/05/03 18:32:58

	Remove commentary in udp_output() about why we use the inpcb
	instead of the socket.

Affected files ...

.. //depot/projects/trustedbsd/mac/sys/netinet/udp_usrreq.c#34 edit

Differences ...

==== //depot/projects/trustedbsd/mac/sys/netinet/udp_usrreq.c#34 (text+ko) ====

@@ -732,13 +732,7 @@
 
 	INP_LOCK_ASSERT(inp);
 #ifdef MAC
-	/*
-	 * XXXRW: Use inpcb instead of socket.
-	 */
 	mac_create_mbuf_from_inpcb(inp, m);
-#if 0
-	mac_create_mbuf_from_socket(inp->inp_socket, m);
-#endif
 #endif
 
 	if (len + sizeof(struct udpiphdr) > IP_MAXPACKET) {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200405040133.i441Xh1h098245>