discard broken maps in get_dm_mpvec
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | libmultipath: update_multipath_table(): add flags argumentlibmultipath/ libmultipath/ multipathd/ | +6 | 0 replies | |
| 2/3 | libmultipath: remove_map(): separate pathvec and mpvec argumentslibmultipath/ libmultipath/ libmultipath/ +2 more | +26 | 0 replies | |
| 3/3 | multipath: get_dm_mpvec: discard broken mapsmultipath/ | +9 | 1 reply |
Reviews trailers per patch
None of the 3 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Benjamin Marzinski |
|---|---|
| Series | R-b |
| 1/3 | |
| 2/3 | |
| 3/3 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/3] discard broken maps in get_dm_mpvec
From: Martin Wilck <[email protected]>
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(-)
Signature · 1 line
2.28.0