diff options
| author | Jason Wang <[email protected]> | 2018-08-08 03:43:04 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2018-08-08 16:44:39 +0000 |
| commit | b13f9c6364373a1b9f71e9846dc4fb199296f926 (patch) | |
| tree | 904d5ecac4a32d9ed7408547200fcbf3a7fe1e30 /tools/perf/scripts/python | |
| parent | llc: use refcount_inc_not_zero() for llc_sap_find() (diff) | |
| download | kernel-b13f9c6364373a1b9f71e9846dc4fb199296f926.tar.gz kernel-b13f9c6364373a1b9f71e9846dc4fb199296f926.zip | |
vhost: reset metadata cache when initializing new IOTLB
We need to reset metadata cache during new IOTLB initialization,
otherwise the stale pointers to previous IOTLB may be still accessed
which will lead a use after free.
Reported-by: [email protected]
Fixes: f88949138058 ("vhost: introduce O(1) vq metadata cache")
Signed-off-by: Jason Wang <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
