diff options
author | Faisal Latif <faisal.latif@intel.com> | 2009-04-27 22:45:19 +0200 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2009-04-27 22:45:19 +0200 |
commit | 9256b2513074164b4555617c4a3b82d36abf03e5 (patch) | |
tree | ffccbec443c56132035336ef80f65759947beb62 /kernel/cgroup.c | |
parent | RDMA/nes: Fix hang issues for large cluster dynamic connections (diff) | |
download | linux-9256b2513074164b4555617c4a3b82d36abf03e5.tar.xz linux-9256b2513074164b4555617c4a3b82d36abf03e5.zip |
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 'kernel/cgroup.c')
0 files changed, 0 insertions, 0 deletions