Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys/kern



Module Name:    src
Committed By:   bad
Date:           Wed Jul  9 07:39:40 UTC 2025

Modified Files:
        src/sys/kern: vfs_vnops.c

Log Message:
release fp->f_lock after reading the offset in vn_read()

Fixes an obvious lock leak introduced in r1.238 and pulled up to netbsd-10.

Pullup to netbsd-10.

Fixes PR kern/59519 vn_read() leaks file* lock


To generate a diff of this commit:
cvs rdiff -u -r1.245 -r1.246 src/sys/kern/vfs_vnops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index