diff options
author | Krishna Kumar <krkumar2@in.ibm.com> | 2006-11-24 16:02:34 +0530 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2006-11-29 15:33:09 -0800 |
commit | c78bb8442b14ee6704bdb323111ffa874d4bfdaa (patch) | |
tree | 356f77a9e174df5682fccb43c5f98cb4c9da6fe5 /drivers/isdn/capi | |
parent | c9edea298e52faeb0d4ae875cb712a5d69ba1966 (diff) |
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 <krkumar2@in.ibm.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/isdn/capi')
0 files changed, 0 insertions, 0 deletions