]> git.openfabrics.org - ~shefty/rdma-win.git/commitdiff
[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@401 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

trunk/ulp/ipoib/kernel/ipoib_port.c

index 37b62df5abd2877789f6671416988d5bb6b445d5..640d3a470f98750848f718d17b42e2f2e8e1ff22 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