summaryrefslogtreecommitdiffstats
path: root/drivers/eisa
diff options
context:
space:
mode:
authorDotan Barak <dotanb@dev.mellanox.co.il>2019-10-01 10:21:02 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-10-07 18:58:25 +0200
commit04e6fa02cc6e93c96dd99e3176e2bf3b3018b9bf (patch)
treec84dee918a0ff124bf4643d7da09421ca35a0c45 /drivers/eisa
parentd6870bbdacd64f94254338d6c9558fdad7c0ac8b (diff)
downloadlinux-stable-04e6fa02cc6e93c96dd99e3176e2bf3b3018b9bf.tar.gz
linux-stable-04e6fa02cc6e93c96dd99e3176e2bf3b3018b9bf.tar.bz2
linux-stable-04e6fa02cc6e93c96dd99e3176e2bf3b3018b9bf.zip
net/rds: Fix error handling in rds_ib_add_one()
[ Upstream commit d64bf89a75b65f83f06be9fb8f978e60d53752db ] 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>
Diffstat (limited to 'drivers/eisa')
0 files changed, 0 insertions, 0 deletions