aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorMichael S. Tsirkin <[email protected]>2014-10-15 10:22:31 +1030
committerRusty Russell <[email protected]>2014-10-15 10:25:05 +1030
commit024655555021e971203c519770609509e0af4468 (patch)
treee0bc0b54628ad7621c4a2fe79062e876615599f6 /tools/perf/scripts/python/task-analyzer.py
parent64b4cc3911fe8284dfb3cfdb8065c100b818bab8 (diff)
virtio_net: fix use after free on allocation failure
In the extremely unlikely event that driver initialization fails after RX buffers are added, virtio net frees RX buffers while VQs are still active, potentially causing device to use a freed buffer. To fix, reset device first - same as we do on device removal. Signed-off-by: Michael S. Tsirkin <[email protected]> Reviewed-by: Cornelia Huck <[email protected]> Signed-off-by: Rusty Russell <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions