From: Jack Morgenstein Date: Sun, 8 Dec 2013 08:41:07 +0000 (+0200) Subject: ib_core: Do not transition MC groups to error on SM_CHANGE event X-Git-Tag: v4.1.12-92~293^2~1^2~55 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=b58f79751529935c5f2aa738ff230da0df5d0214;p=users%2Fjedix%2Flinux-maple.git ib_core: Do not transition MC groups to error on SM_CHANGE event 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 (Ported from Mellanox OFED 2.4) Signed-off-by: Mukesh Kacker --- diff --git a/drivers/infiniband/core/multicast.c b/drivers/infiniband/core/multicast.c index 63fff6588d360..c1cd8f52a5b63 100644 --- a/drivers/infiniband/core/multicast.c +++ b/drivers/infiniband/core/multicast.c @@ -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;