Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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: Leonid Arsh <leonida@voltaire.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>

authored by

Leonid Arsh and committed by
Roland Dreier
508e4341 63942c9a

+2 -1
+2 -1
drivers/infiniband/ulp/ipoib/ipoib_verbs.c
··· 255 255 record->event == IB_EVENT_PKEY_CHANGE || 256 256 record->event == IB_EVENT_PORT_ACTIVE || 257 257 record->event == IB_EVENT_LID_CHANGE || 258 - record->event == IB_EVENT_SM_CHANGE) { 258 + record->event == IB_EVENT_SM_CHANGE || 259 + record->event == IB_EVENT_CLIENT_REREGISTER) { 259 260 ipoib_dbg(priv, "Port state change event\n"); 260 261 queue_work(ipoib_workqueue, &priv->flush_task); 261 262 }