aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf
diff options
context:
space:
mode:
authorJohan Hovold <[email protected]>2019-01-16 11:23:33 +0100
committerDavid S. Miller <[email protected]>2019-01-17 12:12:19 -0800
commitaed13f2e00ce278f039b76e7ac84d419aff48ef6 (patch)
treef02bb88719d5f20d8870e9844ef84b6110661d96 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf
parent5fb1beeceab857d57312e9351d836f168b513027 (diff)
net: dsa: lantiq_gswip: fix use-after-free on failed probe
Make sure to disable and deregister the switch on late probe errors to avoid use-after-free when the device-resource-managed switch is freed. Fixes: 14fceff4771e ("net: dsa: Add Lantiq / Intel DSA driver for vrx200") Cc: stable <[email protected]> # 4.20 Cc: Hauke Mehrtens <[email protected]> Signed-off-by: Johan Hovold <[email protected]> Reviewed-by: Andrew Lunn <[email protected]> Acked-by: Hauke Mehrtens <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf')
0 files changed, 0 insertions, 0 deletions