diff options
author | Konstantin Belousov <kib@FreeBSD.org> | 2013-05-30 20:00:19 +0000 |
---|---|---|
committer | Konstantin Belousov <kib@FreeBSD.org> | 2013-05-30 20:00:19 +0000 |
commit | 7560005c4159f2ab5b497c5455a1e542400def4f (patch) | |
tree | cd232be5aa494d81ef875403216e779919449aed /contrib/tcpdump/print-rip.c | |
parent | 782d4a636b4e30935f3bfb408e7e8ede2afa634a (diff) | |
download | src-7560005c4159f2ab5b497c5455a1e542400def4f.tar.gz src-7560005c4159f2ab5b497c5455a1e542400def4f.zip |
After the object lock was dropped, the object' reference count could
change. Retest the ref_count and return from the function to not
execute the further code which assumes that ref_count == 1 if it is
not. Also, do not leak vnode lock if other thread cleared OBJ_TMPFS
flag meantime.
Reported by: bdrewery
Tested by: bdrewery, pho
Sponsored by: The FreeBSD Foundation
Notes
Notes:
svn path=/head/; revision=251151
Diffstat (limited to 'contrib/tcpdump/print-rip.c')
0 files changed, 0 insertions, 0 deletions