From: Leon Romanovsky <leonro@xxxxxxxxxx> Changelog: v1: * Squashed "remove mad_agent ..." patches to make sure that we don't need to check for the NULL argument. v0: https://lore.kernel.org/lkml/20210318100309.670344-1-leon@xxxxxxxxxx ------------------------------------------------------------------------------- Hi, This series from Mark fixes long standing bug in CM migration logic, reported by Ryan [1]. Thanks [1] https://lore.kernel.org/linux-rdma/CAFMmRNx9cg--NUnZjFM8yWqFaEtsmAWV4EogKb3a0+hnjdtJFA@xxxxxxxxxxxxxx/ Mark Zhang (5): Revert "IB/cm: Mark stale CM id's whenever the mad agent was unregistered" IB/cm: Simplify ib_cancel_mad() and ib_modify_mad() calls IB/cm: Clear all associated AV's ports when remove a cm device IB/cm: Add lock protection when access av/alt_av's port of a cm_id IB/cm: Initialize av before aquire the spin lock in cm_lap_handler drivers/infiniband/core/cm.c | 398 +++++++++++++++++------------ drivers/infiniband/core/mad.c | 17 +- drivers/infiniband/core/sa_query.c | 4 +- include/rdma/ib_mad.h | 27 +- 4 files changed, 250 insertions(+), 196 deletions(-) -- 2.30.2