commit | 9256b2513074164b4555617c4a3b82d36abf03e5 | [log] [tgz] |
---|---|---|
author | Faisal Latif <faisal.latif@intel.com> | Mon Apr 27 13:45:19 2009 -0700 |
committer | Roland Dreier <rolandd@cisco.com> | Mon Apr 27 13:45:19 2009 -0700 |
tree | ffccbec443c56132035336ef80f65759947beb62 | |
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>