svn commit: r287329 - stable/10/sys/sys

Xin LI delphij at FreeBSD.org
Mon Aug 31 18:58:54 UTC 2015


Author: delphij
Date: Mon Aug 31 18:58:53 2015
New Revision: 287329
URL: https://svnweb.freebsd.org/changeset/base/287329

Log:
  MFC r286836:
  
  so_vnet is constant after creation and no locking is necessary,
  document this fact.

Modified:
  stable/10/sys/sys/socketvar.h
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/sys/socketvar.h
==============================================================================
--- stable/10/sys/sys/socketvar.h	Mon Aug 31 18:53:41 2015	(r287328)
+++ stable/10/sys/sys/socketvar.h	Mon Aug 31 18:58:53 2015	(r287329)
@@ -76,7 +76,7 @@ struct socket {
 	short	so_state;		/* (b) internal state flags SS_* */
 	int	so_qstate;		/* (e) internal state flags SQ_* */
 	void	*so_pcb;		/* protocol control block */
-	struct	vnet *so_vnet;		/* network stack instance */
+	struct	vnet *so_vnet;		/* (a) network stack instance */
 	struct	protosw *so_proto;	/* (a) protocol handle */
 /*
  * Variables for connection queuing.


More information about the svn-src-stable-10 mailing list