aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/nes/nes.h
diff options
context:
space:
mode:
authorFaisal Latif <faisal.latif@intel.com>2009-04-27 13:45:19 -0700
committerRoland Dreier <rolandd@cisco.com>2009-04-27 13:45:19 -0700
commit9256b2513074164b4555617c4a3b82d36abf03e5 (patch)
treeffccbec443c56132035336ef80f65759947beb62 /drivers/infiniband/hw/nes/nes.h
parent109d67e4f12b828113ca8ccf4a735972dd984f40 (diff)
downloadkernel_samsung_smdk4412-9256b2513074164b4555617c4a3b82d36abf03e5.zip
kernel_samsung_smdk4412-9256b2513074164b4555617c4a3b82d36abf03e5.tar.gz
kernel_samsung_smdk4412-9256b2513074164b4555617c4a3b82d36abf03e5.tar.bz2
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 'drivers/infiniband/hw/nes/nes.h')
0 files changed, 0 insertions, 0 deletions