aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDotan Barak <[email protected]>2019-10-01 10:21:02 -0700
committerDavid S. Miller <[email protected]>2019-10-02 12:16:57 -0400
commitd64bf89a75b65f83f06be9fb8f978e60d53752db (patch)
tree783d0cc21944c1e8346db9e62051418e08bc9e49 /tools/perf/scripts/python
parente8521e53cca584ddf8ec4584d3c550a6c65f88c4 (diff)
net/rds: Fix error handling in rds_ib_add_one()
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 <[email protected]> Signed-off-by: Sudhakar Dindukurti <[email protected]> Acked-by: Santosh Shilimkar <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions