diff options
author | Visa Hankala <visa@cvs.openbsd.org> | 2021-11-06 05:26:34 +0000 |
---|---|---|
committer | Visa Hankala <visa@cvs.openbsd.org> | 2021-11-06 05:26:34 +0000 |
commit | 050fdf90f8fece4f71708c1c4b9da22eb0e54775 (patch) | |
tree | 4b95810071cc86f4d428a8814b063f420a581388 /usr.bin/diff | |
parent | 447e4ee17bda5f288d7e640d8b61378c06fa0d35 (diff) |
Allocate socket and initialize so_lock in one place
This makes witness(4) use a single lock type for tracking so_lock.
Previously, so_lock was covered by two distinct lock types because there
were separate rw_init() initializers in socreate() and sonewconn().
OK kettenis@
Diffstat (limited to 'usr.bin/diff')
0 files changed, 0 insertions, 0 deletions