diff options
author | stephen hemminger <stephen@networkplumber.org> | 2017-04-20 01:22:02 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-04-21 20:59:57 +0300 |
commit | 76bb5db5c749dfe19d779aac076133e821b859dd (patch) | |
tree | d844c765fe7dcdf2cafb136bcaa2f3cfb3569250 /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | dfb05553a55d89e6daae9cb9abfdf4751e14d72d (diff) | |
download | linux-76bb5db5c749dfe19d779aac076133e821b859dd.tar.xz |
netvsc: fix use after free on module removal
The NAPI data structure is embedded in the netvsc_device structure
and is freed when device is closed. There is still a reference
(in NAPI list) to this which causes a crash in netif_napi_del
when device is removed. Fix by managing NAPI instances correctly.
Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions