alistair23-linux/net/rds
Cong Wang dee49f203a rds: avoid calling sock_kfree_s() on allocation failure
It is okay to free a NULL pointer but not okay to mischarge the socket optmem
accounting. Compile test only.

Reported-by: rucsoftsec@gmail.com
Cc: Chien Yen <chien.yen@oracle.com>
Cc: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: Cong Wang <cwang@twopensource.com>
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2014-10-14 17:00:19 -04:00
..
af_rds.c treewide: fix synchronize_rcu() in comments 2014-08-28 15:01:24 +02:00
bind.c net: replace macros net_random and net_srandom with direct calls to prandom 2014-01-14 15:15:25 -08:00
cong.c
connection.c
ib.c rds: prevent dereference of a NULL device 2013-12-27 12:33:58 -05:00
ib.h
ib_cm.c
ib_rdma.c
ib_recv.c arch: Mass conversion of smp_mb__*() 2014-04-18 14:20:48 +02:00
ib_ring.c
ib_send.c net: rds: Use time_after() for time comparison 2014-05-18 21:24:52 -04:00
ib_stats.c
ib_sysctl.c
info.c
info.h
iw.c rds: prevent dereference of a NULL device in rds_iw_laddr_check 2014-03-31 16:25:52 -04:00
iw.h
iw_cm.c
iw_rdma.c
iw_recv.c arch: Mass conversion of smp_mb__*() 2014-04-18 14:20:48 +02:00
iw_ring.c
iw_send.c net: rds: Use time_after() for time comparison 2014-05-18 21:24:52 -04:00
iw_stats.c
iw_sysctl.c rds: remove the unneed NULL checking 2014-05-09 15:59:45 -04:00
Kconfig
loop.c
loop.h
Makefile
message.c
page.c
rdma.c rds: avoid calling sock_kfree_s() on allocation failure 2014-10-14 17:00:19 -04:00
rdma_transport.c RDS/RDMA: Replace comma with semicolon 2014-05-30 17:48:58 -07:00
rdma_transport.h
rds.h
recv.c net: add build-time checks for msg->msg_name size 2014-01-18 23:04:16 -08:00
send.c net/rds: fix possible double free on sock tear down 2014-10-03 12:52:00 -07:00
stats.c
sysctl.c rds: remove the unneed NULL checking 2014-05-09 15:59:45 -04:00
tcp.c
tcp.h net: Fix use after free by removing length arg from sk_data_ready callbacks. 2014-04-11 16:15:36 -04:00
tcp_connect.c net/rds: do proper house keeping if connection fails in rds_tcp_conn_connect 2014-10-03 12:51:59 -07:00
tcp_listen.c rds/tcp_listen: Replace comma with semicolon 2014-05-30 17:48:58 -07:00
tcp_recv.c net: Fix use after free by removing length arg from sk_data_ready callbacks. 2014-04-11 16:15:36 -04:00
tcp_send.c arch: Mass conversion of smp_mb__*() 2014-04-18 14:20:48 +02:00
tcp_stats.c
threads.c net/rds: call rds_conn_drop instead of open code it at rds_connect_complete 2014-10-03 12:51:59 -07:00
transport.c