linux/net/rds
Dan Carpenter 94713bab64 ERR_PTR() dereference in net/rds/ib.c
rdma_create_id() doesn't return NULL, only ERR_PTR().

Found by smatch (http://repo.or.cz/w/smatch.git).  Compile tested.

regards,
dan carpenter

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Andy Grover <andy.grover@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2009-04-09 17:21:22 -07:00
..
af_rds.c RDS: remove unused #include <version.h> 2009-04-09 17:21:20 -07:00
bind.c
cong.c
connection.c rds: use kmem_cache_zalloc instead of kmem_cache_alloc/memset 2009-04-09 17:21:21 -07:00
ib_cm.c RDS: Use spinlock to protect 64b value update on 32b archs 2009-04-02 00:52:22 -07:00
ib_rdma.c RDS: Rewrite connection cleanup, fixing oops on rmmod 2009-04-02 00:52:22 -07:00
ib_recv.c RDS/IW+IB: Allow max credit advertise window. 2009-04-09 17:21:17 -07:00
ib_ring.c RDS/IW+IB: Set recv ring low water mark to 1/2 full. 2009-04-09 17:21:14 -07:00
ib_send.c RDS/IW+IB: Allow max credit advertise window. 2009-04-09 17:21:17 -07:00
ib_stats.c
ib_sysctl.c
ib.c ERR_PTR() dereference in net/rds/ib.c 2009-04-09 17:21:22 -07:00
ib.h RDS/IW+IB: Allow max credit advertise window. 2009-04-09 17:21:17 -07:00
info.c RDS: use get_user_pages_fast() 2009-04-09 17:21:20 -07:00
info.h
iw_cm.c RDS: Use spinlock to protect 64b value update on 32b archs 2009-04-02 00:52:22 -07:00
iw_rdma.c RDS: Rewrite connection cleanup, fixing oops on rmmod 2009-04-02 00:52:22 -07:00
iw_recv.c RDS/IW+IB: Allow max credit advertise window. 2009-04-09 17:21:17 -07:00
iw_ring.c RDS/IW+IB: Set recv ring low water mark to 1/2 full. 2009-04-09 17:21:14 -07:00
iw_send.c RDS/IW+IB: Allow max credit advertise window. 2009-04-09 17:21:17 -07:00
iw_stats.c
iw_sysctl.c
iw.c ERR_PTR() dereference in net/rds/iw.c 2009-04-09 17:21:22 -07:00
iw.h RDS/IW+IB: Allow max credit advertise window. 2009-04-09 17:21:17 -07:00
Kconfig
loop.c
loop.h
Makefile
message.c
page.c
rdma_transport.c RDS: Correct some iw references in rdma_transport.c 2009-04-09 17:21:15 -07:00
rdma_transport.h
rdma.c RDS: use get_user_pages_fast() 2009-04-09 17:21:20 -07:00
rdma.h
rds.h RDS/IW+IB: Allow max credit advertise window. 2009-04-09 17:21:17 -07:00
recv.c
send.c RDS: Establish connection before parsing CMSGs 2009-04-09 17:21:19 -07:00
stats.c
sysctl.c
threads.c
transport.c