diff options
author | Haiyang Zhang <[email protected]> | 2016-03-23 09:43:09 -0700 |
---|---|---|
committer | David S. Miller <[email protected]> | 2016-03-23 14:38:55 -0400 |
commit | d212b4633c3a99561939f2d423eacf3263850bcd (patch) | |
tree | d5bc5a90517956c625b52bfbf92fb16bc7b9fc3f /tools/perf/builtin-annotate.c | |
parent | 1f461dcdd296eecedaffffc6bae2bfa90bd7eb89 (diff) |
hv_netvsc: Fix accessing freed memory in netvsc_change_mtu()
struct netvsc_device is freed in rndis_filter_device_remove(). So we save
the nvdev->num_chn into a temp variable for later usage.
(Please also include this patch into stable branch.)
Signed-off-by: Haiyang Zhang <[email protected]>
Reviewed-by: K. Y. Srinivasan <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/builtin-annotate.c')
0 files changed, 0 insertions, 0 deletions