aboutsummaryrefslogtreecommitdiff
path: root/share/examples/drivers
diff options
context:
space:
mode:
authorKristof Provost <kp@FreeBSD.org>2019-03-16 10:14:03 +0000
committerKristof Provost <kp@FreeBSD.org>2019-03-16 10:14:03 +0000
commit812483c46ec5f31a1d2dc3b41d67e5353cd76483 (patch)
tree087bf816fcef9b1fe6c3ac8f4dd297f7c8021be7 /share/examples/drivers
parentda6a832080e6ab7fd4a642b52f3edd8ab07ab692 (diff)
pf: Rename pfsync bucket lock
Previously the main pfsync lock and the bucket locks shared the same name. This lead to spurious warnings from WITNESS like this: acquiring duplicate lock of same type: "pfsync" 1st pfsync @ /usr/src/sys/netpfil/pf/if_pfsync.c:1402 2nd pfsync @ /usr/src/sys/netpfil/pf/if_pfsync.c:1429 It's perfectly okay to grab both the main pfsync lock and a bucket lock at the same time. We don't need different names for each bucket lock, because we should always only acquire a single one of those at a time. MFC after: 1 week
Notes
Notes: svn path=/head/; revision=345223
Diffstat (limited to 'share/examples/drivers')
0 files changed, 0 insertions, 0 deletions