diff options
author | Faisal Latif <faisal.latif@intel.com> | 2009-04-27 13:45:19 -0700 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2009-04-27 13:45:19 -0700 |
commit | 9256b2513074164b4555617c4a3b82d36abf03e5 (patch) | |
tree | ffccbec443c56132035336ef80f65759947beb62 /crypto/cts.c | |
parent | 109d67e4f12b828113ca8ccf4a735972dd984f40 (diff) |
RDMA/nes: Fix error path in nes_accept()
If reg_phys_mem() fails, we need to free memory allocated for MPA
frame with private data before returning the error. Also move
nes_add_ref() after the reg_phys_mem() is successful.
Signed-off-by: Faisal Latif <faisal.latif@intel.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'crypto/cts.c')
0 files changed, 0 insertions, 0 deletions