2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-24 21:24:00 +08:00
linux-next/drivers/infiniband/hw/i40iw
Mustafa Ismail d41d0910d9 i40iw: Fix double free of allocated_buffer
Memory allocated for iwqp; iwqp->allocated_buffer is freed twice in
the create_qp error path. Correct this by having it freed only once in
i40iw_free_qp_resources().

Fixes: d374984179 ("i40iw: add files for iwarp interface")

Signed-off-by: Mustafa Ismail <mustafa.ismail@intel.com>
Signed-off-by: Shiraz Saleem <shiraz.saleem@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
2016-08-24 11:31:39 -04:00
..
i40iw_cm.c i40iw: Add missing NULL check for MPA private data 2016-08-24 11:21:51 -04:00
i40iw_cm.h RDMA/i40iw: Remove unused code and fix warning 2016-04-28 16:32:54 -04:00
i40iw_ctrl.c RDMA/i40iw: Fix SD calculation for initial HMC creation 2016-04-28 16:32:54 -04:00
i40iw_d.h i40iw: Remove unnecessary check for moving CQ head 2016-08-02 14:17:38 -04:00
i40iw_hmc.c i40iw: add hmc resource files 2016-02-29 17:10:53 -05:00
i40iw_hmc.h i40iw: add hmc resource files 2016-02-29 17:10:53 -05:00
i40iw_hw.c RDMA/i40iw: Correct STag mask to min of 14 bits 2016-04-28 16:32:54 -04:00
i40iw_main.c i40iw: Add missing check for interface already open 2016-08-23 12:52:52 -04:00
i40iw_osdep.h RDMA/i40iw: Add virtual channel message queue 2016-04-28 16:32:54 -04:00
i40iw_p.h i40iw: add hardware related header files 2016-03-16 13:50:52 -04:00
i40iw_pble.c RDMA/i40iw: Correct return code check in add_pble_pool 2016-04-28 16:32:54 -04:00
i40iw_pble.h i40iw: add pble resource files 2016-02-29 17:10:53 -05:00
i40iw_puda.c i40iw: Add NULL check for puda buffer 2016-08-02 14:17:38 -04:00
i40iw_puda.h i40iw: Replace the obsolete crypto hash interface with shash 2016-03-21 16:02:24 -04:00
i40iw_register.h i40iw: add X722 register file 2016-03-16 13:50:53 -04:00
i40iw_status.h RDMA/i40iw: Fix for checking if the QP is destroyed 2016-04-28 16:32:55 -04:00
i40iw_type.h i40iw: Change dup_ack_thresh to u8 2016-08-02 14:17:38 -04:00
i40iw_ucontext.h i40iw: add files for iwarp interface 2016-02-29 17:10:53 -05:00
i40iw_uk.c i40iw: Remove unnecessary check for moving CQ head 2016-08-02 14:17:38 -04:00
i40iw_user.h i40iw: Remove unnecessary parameter to i40iw_cq_poll_completion 2016-08-02 14:17:38 -04:00
i40iw_utils.c i40iw: Do not set self-referencing pointer to NULL after kfree 2016-08-24 11:25:34 -04:00
i40iw_verbs.c i40iw: Fix double free of allocated_buffer 2016-08-24 11:31:39 -04:00
i40iw_verbs.h RDMA/i40iw: Adding queue drain functions 2016-04-28 16:32:54 -04:00
i40iw_vf.c i40iw: constify i40iw_vf_cqp_ops structure 2016-05-13 13:47:07 -04:00
i40iw_vf.h i40iw: constify i40iw_vf_cqp_ops structure 2016-05-13 13:47:07 -04:00
i40iw_virtchnl.c i40iw: pass hw_stats by reference rather than by value 2016-05-13 13:47:08 -04:00
i40iw_virtchnl.h i40iw: virtual channel handling files 2016-03-16 13:50:53 -04:00
i40iw.h i40iw: Protect req_resource_num update 2016-08-23 12:40:20 -04:00
Kconfig i40iw: Kconfig and Makefile for iwarp module 2016-03-16 13:50:54 -04:00
Makefile i40iw: Kconfig and Makefile for iwarp module 2016-03-16 13:50:54 -04:00