linux-stable-rt/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
..
Kconfig
Makefile
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.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
ib_cm.c
ib_rdma.c
ib_recv.c RDS/IW+IB: Allow max credit advertise window. 2009-04-09 17:21:17 -07:00
ib_ring.c
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
info.c RDS: use get_user_pages_fast() 2009-04-09 17:21:20 -07:00
info.h
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
iw_cm.c
iw_rdma.c
iw_recv.c RDS/IW+IB: Allow max credit advertise window. 2009-04-09 17:21:17 -07:00
iw_ring.c
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
loop.c
loop.h
message.c
page.c
rdma.c RDS: use get_user_pages_fast() 2009-04-09 17:21:20 -07:00
rdma.h
rdma_transport.c
rdma_transport.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