While working on a FIXME for next cycle Dean found some other issues that we should probably try to get in for RC. Mostly in the error/teardown case but this also has a change to reserve expected TIDs which is the more correc behavior and enables the follow on patches for the FIXME. --- Dean Luick (6): IB/hfi1: Restore allocated resources on failed copyout IB/hfi1: Reject a zero-length user expected buffer IB/hfi1: Reserve user expected TIDs IB/hfi1: Fix expected receive setup error exit issues IB/hfi1: Immediately remove invalid memory from hardware IB/hfi1: Remove user expected buffer invalidate race drivers/infiniband/hw/hfi1/file_ops.c | 5 +- drivers/infiniband/hw/hfi1/user_exp_rcv.c | 200 +++++++++++++++------- drivers/infiniband/hw/hfi1/user_exp_rcv.h | 3 + 3 files changed, 147 insertions(+), 61 deletions(-) -- -Denny