diff options
author | Stefan Sperling <stsp@cvs.openbsd.org> | 2017-04-21 16:39:53 +0000 |
---|---|---|
committer | Stefan Sperling <stsp@cvs.openbsd.org> | 2017-04-21 16:39:53 +0000 |
commit | 5f64d052e071c68a6e08c450af5ef671d4621da6 (patch) | |
tree | 072d8cd36dafc2bde60b1c2699fad42ea7037d43 /usr.sbin/smtpd/queue_fs.c | |
parent | 1132ac950afa5a0cd1107026f5c373a89a94c314 (diff) |
Fix nic lock usages around iwm_{read,write}_prph().
The iwm_{read,write}_prph() calls don't grab the nic lock themselves
so make sure to acquire it where necessary.
The iwm_{set,clear}_bits_prph() on the other hand acquire/release the
nic lock themselves. Since the nic lock doesn't do recursive locking
we need to be careful to avoid accidentally releasing the nic lock
too early that way.
Patch by Imre Vadasz.
Diffstat (limited to 'usr.sbin/smtpd/queue_fs.c')
0 files changed, 0 insertions, 0 deletions