diff options
author | 2017-03-09 14:58:29 -0800 | |
---|---|---|
committer | 2017-03-12 23:13:41 -0700 | |
commit | 7ce101246655935b014b11d81f815342921f5654 (patch) | |
tree | 3f3e433183069f6c8f6fe40557d6db1e5d4424ee /Documentation | |
parent | net: ethernet: aquantia: call set_irq_affinity_hint before free_irq (diff) | |
download | linux-rng-7ce101246655935b014b11d81f815342921f5654.tar.xz linux-rng-7ce101246655935b014b11d81f815342921f5654.zip |
netvsc: handle select_queue when device is being removed
Move the send indirection table from the inner device (netvsc)
to the network device context.
It is possible that netvsc_device is not present (remove in progress).
This solves potential use after free issues when packet is being
created during MTU change, shutdown, or queue count changes.
Fixes: d8e18ee0fa96 ("netvsc: enhance transmit select_queue")
Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions