signed-off-by: alex naslednikov <xalex@mellanox.co.il>
git-svn-id: svn://openib.tc.cornell.edu/gen1@2812
ad392aa1-c5ef-ae45-8dd8-
e69d62a5ef86
\r
CL_ASSERT( mad_svc_context );\r
CL_ASSERT( p_mad_response );\r
- CL_ASSERT( p_mad_response->send_context1 );\r
+ \r
+ if ( !p_mad_response->send_context1 ) {\r
+ CL_ASSERT( p_mad_response->send_context1 );\r
+ ib_put_mad( p_mad_response );\r
+ AL_EXIT( AL_DBG_SMI );\r
+ return;\r
+ }\r
\r
/* Initialize pointers. */\r
p_spl_qp_svc = mad_svc_context;\r