summaryrefslogtreecommitdiff
path: root/sys/netinet6/ip6_id.c
diff options
context:
space:
mode:
authorStefan Kempf <stefan@cvs.openbsd.org>2016-03-06 08:56:17 +0000
committerStefan Kempf <stefan@cvs.openbsd.org>2016-03-06 08:56:17 +0000
commitc86bd03e15b08cac0f8f055d8ad1d720c831329c (patch)
treea5784d8a97e29c5c39d8590022bed990ae4f1267 /sys/netinet6/ip6_id.c
parent7f826952277fb93d6fae7b07d6406a3b344e334f (diff)
Tweak uvm assertions to avoid locking in some cases.
When only one thread can access a map, there's no need to lock it. Tweak the assertion instead of appeasing it by acquiring a lock when it's not necessary. ok kettenis@
Diffstat (limited to 'sys/netinet6/ip6_id.c')
0 files changed, 0 insertions, 0 deletions