Skip to content

discard broken maps in get_dm_mpvec

[email protected] dm-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3libmultipath: update_multipath_table(): add flags argumentlibmultipath/structs_vec.c libmultipath/structs_vec.h multipathd/main.c+6 -60 replies
2/3libmultipath: remove_map(): separate pathvec and mpvec argumentslibmultipath/configure.c libmultipath/structs_vec.c libmultipath/structs_vec.h +2 more+26 -210 replies
3/3multipath: get_dm_mpvec: discard broken mapsmultipath/main.c+9 -141 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.

PatchBenjamin Marzinski
SeriesR-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.

Read the v1 thread

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