diff options
author | Brian Behlendorf <[email protected]> | 2016-01-19 10:41:21 -0800 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2016-01-20 13:36:15 -0800 |
commit | 37c56346cca55f60e36bb584e00966bba24af327 (patch) | |
tree | c23fa154836ab6fc9e4deb74468b442a4095fd67 /rpm/generic/zfs-kmod.spec.in | |
parent | ae3a373566042ad086b51dce66059c8cae321faf (diff) |
Close possible zfs_znode_held() race
Check if the lock is held while holding the z_hold_locks() lock.
This prevents a possible use-after-free bug for callers which are
not holding the lock. There currently are no such callers so this
can't cause a problem today but it has been fixed regardless.
Signed-off-by: Brian Behlendorf <[email protected]>
Signed-off-by: Chunwei Chen <[email protected]>
Closes #4244
Issue #4124
Diffstat (limited to 'rpm/generic/zfs-kmod.spec.in')
0 files changed, 0 insertions, 0 deletions