linux-stable/drivers/infiniband/hw
Faisal Latif 79fc3d7410 RDMA/nes: Fix error handling issues
Fix issues found by static code analysis:

(1) Check if cm_node was successfully created for loopback connection.

(2) schedule_nes_timer() does not free up allocated memory after
    encountering an error.  There is a WARN_ON() for this condition.

(3) there is a cm_node->freed flag which is set but not used.

Reported-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Faisal Latif <faisal.latif@intel.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
2009-04-08 14:22:20 -07:00
..
amso1100 infiniband: convert c2 to net_device_ops 2009-03-21 19:19:13 -07:00
cxgb3 Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next-2.6 2009-03-26 15:54:36 -07:00
ehca IB: Remove __constant_{endian} uses 2009-01-17 17:11:57 -08:00
ipath Merge branch 'timers-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip 2009-03-26 16:05:42 -07:00
mlx4 Merge branches 'cxgb3', 'endian', 'ipath', 'ipoib', 'iser', 'mad', 'misc', 'mlx4', 'mthca', 'nes' and 'sysfs' into for-next 2009-03-24 20:44:41 -07:00
mthca IB/mthca: Fix dispatch of IB_EVENT_LID_CHANGE event 2009-01-28 15:15:56 -08:00
nes RDMA/nes: Fix error handling issues 2009-04-08 14:22:20 -07:00