Re: [PATCH RESEND] infiniband:core:Fix error handling in the function cm_lap_handler

From: Or Gerlitz
Date: Tue Feb 23 2016 - 05:29:21 EST


On 2/22/2016 8:59 PM, Nicholas Krause wrote:
This fixes error handling in the function cm_lap_handler to properly
check if the internal call to the function cm_init_av_for_response
has 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's

Signed-off-by: Nicholas Krause<xerofoify@xxxxxxxxx>

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

Fixes: xxx ('yyy')

where xxx is the 12 digit abbrev-iated git short log and yyy the commit title