linux-stable/drivers/infiniband/hw/ipath
Roland Dreier 71c4512201 IB/ipath: Fix memory leak in init_shadow_tids() error path
If the second vmalloc() fails, the wrong pointer is pased to vfree(), so
the first vmalloc() ends up getting leaked.

This was spotted by the Coverity checker (CID 2709).

Signed-off-by: Roland Dreier <rolandd@cisco.com>
2009-02-22 20:04:34 -08:00
..
ipath_7220.h IB/ipath: Isolate 7220-specific content 2008-04-16 21:09:30 -07:00
ipath_common.h IB/ipath: Update copyright dates for files changed in 2008 2008-04-16 21:09:32 -07:00
ipath_cq.c RDMA/core: Add memory management extensions support 2008-07-14 23:48:45 -07:00
ipath_debug.h IB/ipath: Prevent link-recovery code from negating admin disable 2008-04-16 21:09:26 -07:00
ipath_diag.c IB: convert struct class_device to struct device 2008-04-19 19:10:30 -07:00
ipath_dma.c [SG] Update drivers to use sg helpers 2007-10-22 21:19:53 +02:00
ipath_driver.c IB/ipath: Add locking for interrupt use of ipath_pd contexts vs free 2008-12-05 11:14:38 -08:00
ipath_eeprom.c IB/ipath: Update copyright dates for files changed in 2008 2008-04-16 21:09:32 -07:00
ipath_file_ops.c cpumask: use new cpumask API in drivers/infiniband/hw/ipath 2008-12-30 09:05:18 +10:30
ipath_fs.c zero i_uid/i_gid on inode allocation 2009-01-05 11:54:28 -05:00
ipath_iba6110.c IB/ipath: Add support for 7220 receive queue changes 2008-04-16 21:09:29 -07:00
ipath_iba6120.c IB/ipath: Don't count IB symbol and link errors unless link is UP 2008-12-05 11:13:19 -08:00
ipath_iba7220.c IB/ipath: Only do 1X workaround on rev1 chips 2008-12-05 11:13:19 -08:00
ipath_init_chip.c IB/ipath: Fix memory leak in init_shadow_tids() error path 2009-02-22 20:04:34 -08:00
ipath_intr.c IB/ipath: Fix printk format warnings 2008-08-04 11:12:18 -07:00
ipath_kernel.h IB/ipath: Add locking for interrupt use of ipath_pd contexts vs free 2008-12-05 11:14:38 -08:00
ipath_keys.c IB/ipath: Add locking for interrupt use of ipath_pd contexts vs free 2008-12-05 11:14:38 -08:00
ipath_mad.c IB/ipath: Add locking for interrupt use of ipath_pd contexts vs free 2008-12-05 11:14:38 -08:00
ipath_mmap.c
ipath_mr.c IB: expand ib_umem_get() prototype 2008-04-29 08:06:12 -07:00
ipath_qp.c IB/ipath: Improve UD loopback performance by allocating temp array only once 2008-12-01 20:59:08 -08:00
ipath_rc.c IB/ipath: Fix PSN of send WQEs after an RDMA read resend 2008-12-05 11:13:18 -08:00
ipath_registers.h IB/ipath: Header file changes to support IBA7220 2008-04-16 21:09:30 -07:00
ipath_ruc.c IB/ipath: Fix RDMA write with immediate copy of last packet 2008-10-27 15:31:25 -07:00
ipath_sd7220.c IB/ipath: Support for SerDes portion of IBA7220 2008-04-16 21:09:31 -07:00
ipath_sd7220_img.c IB/ipath: Add IBA7220-specific SERDES initialization data 2008-04-16 21:09:31 -07:00
ipath_sdma.c IB/ipath: Check return value of dma_map_single() 2008-12-05 11:13:18 -08:00
ipath_srq.c IB/ipath: Update copyright dates for files changed in 2008 2008-04-16 21:09:32 -07:00
ipath_stats.c IB/ipath: Don't count IB symbol and link errors unless link is UP 2008-12-05 11:13:19 -08:00
ipath_sysfs.c IB/ipath: Update copyright dates for files changed in 2008 2008-04-16 21:09:32 -07:00
ipath_uc.c RDMA/core: Add memory management extensions support 2008-07-14 23:48:45 -07:00
ipath_ud.c IB/ipath: Improve UD loopback performance by allocating temp array only once 2008-12-01 20:59:08 -08:00
ipath_user_pages.c IB/ipath: Remove ipath_get_user_pages_nocopy() 2007-07-17 18:37:43 -07:00
ipath_user_sdma.c dma-mapping: add the device argument to dma_mapping_error() 2008-07-26 12:00:03 -07:00
ipath_user_sdma.h IB/ipath: Fix many locking issues when switching to error state 2008-05-13 11:41:29 -07:00
ipath_verbs.c IB/ipath: Add locking for interrupt use of ipath_pd contexts vs free 2008-12-05 11:14:38 -08:00
ipath_verbs.h IB/ipath: Improve UD loopback performance by allocating temp array only once 2008-12-01 20:59:08 -08:00
ipath_verbs_mcast.c rcu: split list.h and move rcu-protected lists into rculist.h 2008-05-19 10:01:37 +02:00
ipath_wc_ppc64.c
ipath_wc_x86_64.c
Kconfig IB/ipath: Remove dependency on PCI_MSI || HT_IRQ 2008-04-21 18:19:14 -07:00
Makefile IB/ipath: Build IBA7220 code unconditionally 2008-04-21 18:19:14 -07:00