infiniband:core:Fix error handling in the function cm_lap_handler
Quoted 8 lines · Nicholas Krause
This fixes error handling in the function
cm_lap_handlerto properly check if the internal call to the functioncm_init_av_for_responsehas failed by returning a error code and if so exit immediately from this particular function by freeing all previously allocated resources before returning the error code to this function's caller in order to allow the caller to handle the error properly in it'sSigned-off-by Nicholas Krause<[email protected]>
I think this is the longest sentence I have ever read in English, and it even doesn't have a end... please break it and tell us the (hopefully) happy end.
Use IB/core: prefix and point to the commit you are fixing
where xxx is the 12 digit abbrev-iated git short log and yyy the commit title
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html