]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
ib_core: Do not transition MC groups to error on SM_CHANGE event
authorJack Morgenstein <jackm@dev.mellanox.co.il>
Sun, 8 Dec 2013 08:41:07 +0000 (10:41 +0200)
committerMukesh Kacker <mukesh.kacker@oracle.com>
Tue, 7 Jul 2015 21:45:15 +0000 (14:45 -0700)
Do not transition multicast groups to error on an SM_CHANGE
event. These events are not connected with mcast groups.
(When the SM wishes to have multicast groups reregistered,
it issues the CLIENT_REREG event).

Signed-off-by: Jack Morgenstein <jackm@dev.mellanox.co.il>
(Ported from Mellanox OFED 2.4)

Signed-off-by: Mukesh Kacker <mukesh.kacker@oracle.com>
drivers/infiniband/core/multicast.c

index 63fff6588d360b41f19136f6ff1e433e532a89c3..c1cd8f52a5b63af6fd99879992b56d80c315cfc7 100644 (file)
@@ -805,7 +805,6 @@ static void mcast_event_handler(struct ib_event_handler *handler,
        switch (event->event) {
        case IB_EVENT_PORT_ERR:
        case IB_EVENT_LID_CHANGE:
-       case IB_EVENT_SM_CHANGE:
        case IB_EVENT_CLIENT_REREGISTER:
                mcast_groups_event(&dev->port[index], MCAST_GROUP_ERROR);
                break;