From: Krishna Kumar Date: Fri, 24 Nov 2006 10:32:34 +0000 (+0530) Subject: RDMA/addr: Fix some cancellation problems in process_req() X-Git-Tag: v2.6.20-rc1~34^2~40^2~471^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c78bb8442b14ee6704bdb323111ffa874d4bfdaa;p=pandora-kernel.git RDMA/addr: Fix some cancellation problems in process_req() Fix following problems in process_req() relating to cancellation: - Function is wrongly doing another addr_remote() when cancelled, which is not required. - Make failure reporting immediate by using time_after_eq(). - On cancellation, -ETIMEDOUT was returned to the callback routine instead of the more appropriate -ECANCELLED (users getting notified may want to print/return this status, eg ucma_event_handler). Signed-off-by: Krishna Kumar Signed-off-by: Roland Dreier --- Reading git-diff-tree failed