FreeBSD src
Go to file
Andriy Gapon c1290d6583 5814 bpobj_iterate_impl(): Close a refcount leak iterating on a sublist.
illumos/illumos-gate@b67dde11a7
b67dde11a7

https://www.illumos.org/issues/5814
  Lets pull in this patch from freebsd:
  http://svnweb.freebsd.org/base?view=revision&revision=271781
  bpobj_iterate_impl(): Close a refcount leak iterating on a sublist.
  If bpobj_space() returned non-zero here, the sublist would have been
  left open, along with the bonus buffer hold it requires. This call
  does not invoke any calls to bpobj_close() itself.
  This bug doesn't have any known vector, but was found on inspection.
  MFC after: 1 week
  Sponsored by: Spectra Logic
  Affects: All ZFS versions starting 21 May 2010 (illumos cde58dbc)
  MFSpectraBSD: r1050998 on 2014/03/26
  Fix bpobj_iterate_impl() to properly call bpobj_close() if bpobj_space()
  returns an error.

Reviewed by: Prakash Surya <prakash.surya@delphix.com>
Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Reviewed by: Paul Dagnelie <paul.dagnelie@delphix.com>
Reviewed by: Simon Klinkert <simon.klinkert@gmail.com>
Approved by: Gordon Ross <gwr@nexenta.com>
Author: Will Andrews <will@freebsd.org>
2017-04-14 18:43:10 +00:00
cmd 7955 libshare needs to initialize only those datasets being modified by the consumer 2017-04-14 18:34:03 +00:00
common 7812 Remove gender specific language 2017-04-14 18:22:42 +00:00
head 5066 remove support for non-ANSI compilation 2014-08-20 06:29:42 +00:00
lib 7955 libshare needs to initialize only those datasets being modified by the consumer 2017-04-14 18:34:03 +00:00
man 7252 7628 compressed zfs send / receive 2017-04-14 18:07:43 +00:00
tools/ctf 5589 improper use of NULL in tools/ctf 2015-03-09 20:43:14 +00:00
uts 5814 bpobj_iterate_impl(): Close a refcount leak iterating on a sublist. 2017-04-14 18:43:10 +00:00
OPENSOLARIS.LICENSE Update vendor/opensolaris to last OpenSolaris state (13149:b23a4dab3d50) 2012-07-18 07:48:04 +00:00