Skip to contentSkip to conversation

infiniband:core:Fix error handling in the function cm_lap_handler

PATCH RESEND Or Gerlitz 1 participant 1 message Feb 23, 2016 1 message not in the archive InfiniBand

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

Or Gerlitz

author
#1 lore raw
Quoted 8 lines · Nicholas Krause

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

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

--
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