diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2020-02-22 09:58:11 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2020-02-22 09:58:11 +0000 |
commit | 24a22d1d9ccc567b4b447d08cc862bdf9ee82942 (patch) | |
tree | f299b5f80e2bbd26c79c72f6b6ebe247b49166f6 /sys/netpfil/pf/if_pfsync.c | |
parent | 6c140a7281ccb127ada56f2eece4dc688e6df437 (diff) | |
parent | 5a79fd85740ea3dc30dbc59ce91219358a7fb92c (diff) | |
download | src-test2-24a22d1d9ccc567b4b447d08cc862bdf9ee82942.tar.gz src-test2-24a22d1d9ccc567b4b447d08cc862bdf9ee82942.zip |
Notes
Diffstat (limited to 'sys/netpfil/pf/if_pfsync.c')
-rw-r--r-- | sys/netpfil/pf/if_pfsync.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/netpfil/pf/if_pfsync.c b/sys/netpfil/pf/if_pfsync.c index 5ab0bbb925b6..e6c85dbb884a 100644 --- a/sys/netpfil/pf/if_pfsync.c +++ b/sys/netpfil/pf/if_pfsync.c @@ -273,7 +273,8 @@ static void pfsync_uninit(void); static unsigned long pfsync_buckets; -SYSCTL_NODE(_net, OID_AUTO, pfsync, CTLFLAG_RW, 0, "PFSYNC"); +SYSCTL_NODE(_net, OID_AUTO, pfsync, CTLFLAG_RW | CTLFLAG_MPSAFE, 0, + "PFSYNC"); SYSCTL_STRUCT(_net_pfsync, OID_AUTO, stats, CTLFLAG_VNET | CTLFLAG_RW, &VNET_NAME(pfsyncstats), pfsyncstats, "PFSYNC statistics (struct pfsyncstats, net/if_pfsync.h)"); |