OpenCloudOS-Kernel/drivers/infiniband/hw/nes
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
..
Kconfig RDMA/nes: Use LRO 2008-04-29 13:46:54 -07:00
Makefile RDMA/nes: Add a driver for NetEffect RNICs 2008-02-04 20:20:45 -08:00
nes.c RDMA/nes: Update copyright to new legal entity and year 2009-03-06 15:12:10 -08:00
nes.h RDMA/nes: Fix incorrect casts on 32-bit architectures 2009-04-08 14:21:02 -07:00
nes_cm.c RDMA/nes: Fix error handling issues 2009-04-08 14:22:20 -07:00
nes_cm.h RDMA/nes: Fix error handling issues 2009-04-08 14:22:20 -07:00
nes_context.h RDMA/nes: Update copyright to new legal entity and year 2009-03-06 15:12:10 -08:00
nes_hw.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next-2.6 2009-03-26 15:54:36 -07:00
nes_hw.h RDMA/nes: Remove LLTX 2009-03-06 15:12:11 -08:00
nes_nic.c RDMA/nes: Fix mis-merge 2009-03-26 17:00:25 -07:00
nes_user.h RDMA/nes: Update copyright to new legal entity and year 2009-03-06 15:12:10 -08:00
nes_utils.c RDMA/nes: Update copyright to new legal entity and year 2009-03-06 15:12:10 -08:00
nes_verbs.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband 2009-03-26 15:47:08 -07:00
nes_verbs.h Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband 2009-03-26 15:47:08 -07:00