summaryrefslogtreecommitdiff
path: root/sys/netgraph/ng_socketvar.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/netgraph/ng_socketvar.h')
-rw-r--r--sys/netgraph/ng_socketvar.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/netgraph/ng_socketvar.h b/sys/netgraph/ng_socketvar.h
index a539bb5f0440..3cf81035541a 100644
--- a/sys/netgraph/ng_socketvar.h
+++ b/sys/netgraph/ng_socketvar.h
@@ -59,6 +59,8 @@ struct ngsock {
struct ngpcb *ctlsock; /* optional control socket */
int flags;
int refs;
+ struct mtx mtx; /* mtx to wait on */
+ int error; /* place to store error */
};
#define NGS_FLAG_NOLINGER 1 /* close with last hook */