Files
linux/net/rds
Dotan Barak 36a4043c4b net/rds: Fix error handling in rds_ib_add_one()
[ Upstream commit d64bf89a75 ]

rds_ibdev:ipaddr_list and rds_ibdev:conn_list are initialized
after allocation some resources such as protection domain.
If allocation of such resources fail, then these uninitialized
variables are accessed in rds_ib_dev_free() in failure path. This
can potentially crash the system. The code has been updated to
initialize these variables very early in the function.

Signed-off-by: Dotan Barak <dotanb@dev.mellanox.co.il>
Signed-off-by: Sudhakar Dindukurti <sudhakar.dindukurti@oracle.com>
Acked-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-10-07 18:57:24 +02:00
..
2018-08-01 09:32:35 -07:00
2018-08-01 09:32:35 -07:00
2019-05-02 09:59:00 +02:00
2018-09-23 12:25:15 -07:00
2018-06-12 16:19:22 -07:00
2018-08-31 23:09:53 -07:00
2016-12-26 21:35:39 -05:00
2018-08-01 09:32:35 -07:00
2018-07-23 21:17:44 -07:00
2019-07-10 09:53:46 +02:00
2013-03-08 00:35:44 -05:00
2016-06-18 21:34:09 -07:00
2018-07-23 21:17:44 -07:00
2018-08-01 09:32:35 -07:00
2011-07-01 16:16:19 -07:00
2018-07-23 21:17:44 -07:00