From fb04ebcd378613b7afed6327eab75e4ff940797a Mon Sep 17 00:00:00 2001 From: delphij Date: Mon, 31 Aug 2015 18:58:53 +0000 Subject: MFC r286836: so_vnet is constant after creation and no locking is necessary, document this fact. --- sys/sys/socketvar.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/sys/socketvar.h b/sys/sys/socketvar.h index 9090340..0afafc5 100644 --- a/sys/sys/socketvar.h +++ b/sys/sys/socketvar.h @@ -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. -- cgit v1.1