aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorMichal Kalderon <[email protected]>2019-09-25 15:33:32 +0300
committerJason Gunthorpe <[email protected]>2019-10-01 11:31:27 -0300
commit390d3fdcae2da52755b31aa44fcf19ecb5a2488b (patch)
tree55c6f62c8be34f0f884993d3249513cf3ac8dacc /tools/perf/scripts/python/stackcollapse.py
parentdf791c54d627bae53c9be3be40a69594c55de487 (diff)
RDMA/core: Fix use after free and refcnt leak on ndev in_device in iwarp_query_port
If an iWARP driver is probed and removed while there are no ips set for the device, it will lead to a reference count leak on the inet device of the netdevice. In addition, the netdevice was accessed after already calling netdev_put, which could lead to using the netdev after already freed. Fixes: 4929116bdf72 ("RDMA/core: Add common iWARP query port") Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Ariel Elior <[email protected]> Signed-off-by: Michal Kalderon <[email protected]> Reviewed-by: Shiraz Saleem <[email protected]> Reviewed-by: Kamal Heib <[email protected]> Reviewed-by: Jason Gunthorpe <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions