]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
When returning early from audit_arg_file() due to so->so_pcb being NULL
authorrwatson <rwatson@FreeBSD.org>
Sat, 6 Jan 2007 22:28:28 +0000 (22:28 +0000)
committerrwatson <rwatson@FreeBSD.org>
Sat, 6 Jan 2007 22:28:28 +0000 (22:28 +0000)
commit6ac99f71137b7f6e2bc1c532ff007193ce5d6efe
tree639f3c2bf0f2c02ebb247bffd4c0fbfb4f741b90
parente8188b5da15f9dd7ff5fe08d32510b2f0c97914e
When returning early from audit_arg_file() due to so->so_pcb being NULL
(due to an early reset or the like), remember to unlock the socket lock.
This will not occur in 7-CURRENT, but could in theory occur in 6-STABLE.

MFC after: 1 week
sys/security/audit/audit_arg.c