diff options
author | kib <kib@FreeBSD.org> | 2013-05-30 20:00:19 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2013-05-30 20:00:19 +0000 |
commit | 0c381861b05890dec1e89030d37c6dbea3c12ca5 (patch) | |
tree | cd232be5aa494d81ef875403216e779919449aed /contrib/tcpdump/icmp6.h | |
parent | b77a98bb0bb774837efbd1e011d9215776cb0e90 (diff) | |
download | FreeBSD-src-0c381861b05890dec1e89030d37c6dbea3c12ca5.zip FreeBSD-src-0c381861b05890dec1e89030d37c6dbea3c12ca5.tar.gz |
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
Diffstat (limited to 'contrib/tcpdump/icmp6.h')
0 files changed, 0 insertions, 0 deletions