On Wed, 2026-01-28 at 16:46 -0500, Benjamin Marzinski wrote:
> purge_disconnected only works on paths that are part of a multipath
> device. However, get_new_state() is also run on uninitialized paths
> that
> are not part of any multipath device, and the purge_disconnected code
> in
> it was dereferencing pp->mpp, without checking if it was NULL. Fix
> that.
>
> Fixes: 690550a1 ("multipathd: implement purge functionality for
> disconnected paths")
> Signed-off-by: Benjamin Marzinski <[email protected]>
Reviewed-by: Martin Wilck <[email protected]>