diff options
author | Haiyang Zhang <haiyangz@microsoft.com> | 2016-03-23 09:43:09 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-03-23 14:38:55 -0400 |
commit | d212b4633c3a99561939f2d423eacf3263850bcd (patch) | |
tree | d5bc5a90517956c625b52bfbf92fb16bc7b9fc3f /drivers/net/ethernet/arc/Makefile | |
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 <haiyangz@microsoft.com>
Reviewed-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/arc/Makefile')
0 files changed, 0 insertions, 0 deletions