summaryrefslogtreecommitdiffstats
path: root/sys/tmpfs
diff options
context:
space:
mode:
authormpi <mpi@openbsd.org>2018-03-28 09:54:00 +0000
committermpi <mpi@openbsd.org>2018-03-28 09:54:00 +0000
commit1a33e2b7930f5b9efd73d2529ce565b210b4dc2f (patch)
treeb6739a17f8cc9149f33b1417d8c060681addf062 /sys/tmpfs
parentCall FREF() right after fd_getfile() in sys_flock(). (diff)
downloadwireguard-openbsd-1a33e2b7930f5b9efd73d2529ce565b210b4dc2f.tar.xz
wireguard-openbsd-1a33e2b7930f5b9efd73d2529ce565b210b4dc2f.zip
Call FREF() right after fd_getfile() in getsock().
This ensure that all operations manipulating a 'struct file *' do so with a properly refcounted element. ok visa@, bluhm@
Diffstat (limited to 'sys/tmpfs')
0 files changed, 0 insertions, 0 deletions