Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 508e4341 authored by Leonid Arsh's avatar Leonid Arsh Committed by Roland Dreier
Browse files

IPoIB: Handle client reregister events



Handle client reregister events by treating them just like LID or
SM changes -- flush all cached paths and rejoin multicast groups.

Signed-off-by: default avatarLeonid Arsh <leonida@voltaire.com>
Signed-off-by: default avatarRoland Dreier <rolandd@cisco.com>
parent 63942c9a
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -255,7 +255,8 @@ void ipoib_event(struct ib_event_handler *handler,
	    record->event == IB_EVENT_PKEY_CHANGE ||
	    record->event == IB_EVENT_PORT_ACTIVE ||
	    record->event == IB_EVENT_LID_CHANGE  ||
	    record->event == IB_EVENT_SM_CHANGE) {
	    record->event == IB_EVENT_SM_CHANGE   ||
	    record->event == IB_EVENT_CLIENT_REREGISTER) {
		ipoib_dbg(priv, "Port state change event\n");
		queue_work(ipoib_workqueue, &priv->flush_task);
	}