PERFORCE change 52188 for review
    Robert Watson 
    rwatson at FreeBSD.org
       
    Mon May  3 18:33:44 PDT 2004
    
    
  
http://perforce.freebsd.org/chv.cgi?CH=52188
Change 52188 by rwatson at 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) {
    
    
More information about the p4-projects
mailing list