From: mwilck@suse.com
To: lixiaokeng@huawei.com
Cc: Martin Wilck <mwilck@suse.com>,
dm-devel@redhat.com, Zhiqiang Liu <liuzhiqiang26@huawei.com>
Subject: [PATCH 0/3] discard broken maps in get_dm_mpvec
Date: Fri, 21 Aug 2020 15:54:15 +0200 [thread overview]
Message-ID: <20200821135418.28138-1-mwilck@suse.com> (raw)
From: Martin Wilck <mwilck@suse.com>
Hello lixiaokeng,
please check if this fixes the issue you reported in
"libmultipath fix NULL dereference in select_action"
(https://www.redhat.com/archives/dm-devel/2020-August/msg00246.html).
As discussed before, the idea is to discard broken / incompletely
initialized maps in get_dm_mpvec().
Regards
Martin
Martin Wilck (3):
libmultipath: update_multipath_table(): add flags argument
libmultipath: remove_map(): separate pathvec and mpvec arguments
multipath: get_dm_mpvec: discard broken maps
libmultipath/configure.c | 11 ++++++-----
libmultipath/structs_vec.c | 20 ++++++++++----------
libmultipath/structs_vec.h | 10 +++++++---
multipath/main.c | 23 +++++++++--------------
multipathd/dmevents.c | 2 +-
multipathd/main.c | 16 ++++++++--------
6 files changed, 41 insertions(+), 41 deletions(-)
--
2.28.0
next reply other threads:[~2020-08-21 13:54 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-08-21 13:54 mwilck [this message]
2020-08-21 13:54 ` [PATCH 1/3] libmultipath: update_multipath_table(): add flags argument mwilck
2020-08-21 13:54 ` [PATCH 2/3] libmultipath: remove_map(): separate pathvec and mpvec arguments mwilck
2020-08-21 13:54 ` [PATCH 3/3] multipath: get_dm_mpvec: discard broken maps mwilck
2020-09-28 6:54 ` lixiaokeng
2020-08-21 18:57 ` [PATCH 0/3] discard broken maps in get_dm_mpvec Benjamin Marzinski
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200821135418.28138-1-mwilck@suse.com \
--to=mwilck@suse.com \
--cc=dm-devel@redhat.com \
--cc=liuzhiqiang26@huawei.com \
--cc=lixiaokeng@huawei.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).