2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-25 21:54:06 +08:00
linux-next/drivers/infiniband/hw
Florin Malita f5b404317b IB/mlx4: Fix leaks in __mlx4_ib_modify_qp
Temporarily allocated struct mlx4_qp_context *context is leaked by
several error paths.  The patch takes advantage of the return value
'err' being preinitialized to -EINVAL.

Spotted by Coverity (CID 1768).

Signed-off-by: Florin Malita <fmalita@gmail.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
2007-07-20 21:19:43 -07:00
..
amso1100 mm: Remove slab destructors from kmem_cache_create(). 2007-07-20 10:11:58 +09:00
cxgb3 some kmalloc/memset ->kzalloc (tree wide) 2007-07-19 10:04:50 -07:00
ehca mm: Remove slab destructors from kmem_cache_create(). 2007-07-20 10:11:58 +09:00
ipath IB/ipath: Remove ipath_get_user_pages_nocopy() 2007-07-17 18:37:43 -07:00
mlx4 IB/mlx4: Fix leaks in __mlx4_ib_modify_qp 2007-07-20 21:19:43 -07:00
mthca IB/mthca: Simplify use of size0 in work request posting 2007-07-18 13:28:29 -07:00