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.
_______________________________________________
svn-src-stable-10@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-stable-10
To unsubscribe, send any mail to "svn-src-stable-10-unsubscr...@freebsd.org"

Reply via email to