diff options
author | jhb <jhb@FreeBSD.org> | 2006-08-02 15:27:48 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2006-08-02 15:27:48 +0000 |
commit | 70c20770c028d13d688eb1e7b4e45395a06624d5 (patch) | |
tree | 0413074a83bcb24365dbce344a80bff62acd029d /sys/netinet/tcp_timewait.c | |
parent | 85eecc09b6352bfc393f6c891ae8cf34077e2409 (diff) | |
download | FreeBSD-src-70c20770c028d13d688eb1e7b4e45395a06624d5.zip FreeBSD-src-70c20770c028d13d688eb1e7b4e45395a06624d5.tar.gz |
Fix some bugs in the previous revision (1.419). Don't perform extra
vfs_rel() on the mountpoint if the MAC checks fail in kern_statfs() and
kern_fstatfs(). Similarly, don't perform an extra vfs_rel() if we get
a doomed vnode in kern_fstatfs(), and handle the case of mp being NULL
(for some doomed vnodes) by conditionalizing the vfs_rel() in
kern_fstatfs() on mp != NULL.
CID: 1517
Found by: Coverity Prevent (tm) (kern_fstatfs())
Pointy hat to: jhb
Diffstat (limited to 'sys/netinet/tcp_timewait.c')
0 files changed, 0 insertions, 0 deletions