On 10. Mar 2020, at 13:37, Santhosh Raju <fox%netbsd.org@localhost> wrote:On Tue, Mar 10, 2020 at 7:25 AM Santhosh Raju <fox%netbsd.org@localhost> wrote:
Module Name: src
Committed By: fox
Date: Mon Mar 9 15:40:50 UTC 2020
Modified Files:
src/external/cddl/osnet/dist/uts/common/fs/zfs: metaslab.c
Log Message:
external/cddl/osnet: Fix possible null pointer access.
Detected by UBSan and fixed upstream, pick only the fix from the commit.
Cherry-pick:
From 928e8ad47d3478a3d5d01f0dd6ae74a9371af65e Mon Sep 17 00:00:00 2001
From: Serapheim Dimitropoulos <serapheimd%gmail.com@localhost>
Date: Wed, 20 Feb 2019 09:59:57 -0800
Subject: [PATCH] Introduce auxiliary metaslab histograms
Reviewed by: Paul Dagnelie <pcd%delphix.com@localhost>
Reviewed-by: Brian Behlendorf <behlendorf1%llnl.gov@localhost>
Reviewed by: Matt Ahrens <mahrens%delphix.com@localhost>
Signed-off-by: Serapheim Dimitropoulos <serapheim%delphix.com@localhost>
Closes #8358
Reviewed by: kamil@
To generate a diff of this commit:
cvs rdiff -u -r1.1.1.3 -r1.2 \
src/external/cddl/osnet/dist/uts/common/fs/zfs/metaslab.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Forgot to add in the commit log, the changes have been pulled in from
upstream openzfs.
https://github.com/openzfs/zfs/commit/928e8ad47d3478a3d5d01f0dd6ae74a9371af65e#diff-9fd6b453f8153161abe0728c449e6505R4386
--
SanthoshThis is NOT our upstream --