[IPOIB] Fix mcast_cb error handling
authorftillier <ftillier@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Tue, 4 Jul 2006 14:19:00 +0000 (14:19 +0000)
committerftillier <ftillier@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Tue, 4 Jul 2006 14:19:00 +0000 (14:19 +0000)
Signed-off-by: Yossi Leybovich (sleybo@mellanox.co.il)
git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@401 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

ulp/ipoib/kernel/ipoib_port.c

index 37b62df..640d3a4 100644 (file)
@@ -5322,7 +5322,8 @@ __mcast_cb(
                IPOIB_PRINT( TRACE_LEVEL_ERROR, IPOIB_DBG_ERROR,\r
                        ("Multicast join request failed with status %s.\n",\r
                        p_port->p_adapter->p_ifc->get_err_str( p_mcast_rec->status )) );\r
-               ipoib_set_inactive( p_port->p_adapter );\r
+               /* Flag the adapter as hung. */\r
+               p_port->p_adapter->hung =TRUE;\r
                cl_obj_deref( &p_port->obj );\r
                IPOIB_EXIT( IPOIB_DBG_MCAST );\r
                return;\r