diff options
author | stephen hemminger <stephen@networkplumber.org> | 2017-03-09 23:58:29 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-03-13 07:13:41 +0100 |
commit | 7ce101246655935b014b11d81f815342921f5654 (patch) | |
tree | 3f3e433183069f6c8f6fe40557d6db1e5d4424ee /Documentation/networking | |
parent | net: ethernet: aquantia: call set_irq_affinity_hint before free_irq (diff) | |
download | linux-7ce101246655935b014b11d81f815342921f5654.tar.xz linux-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/networking')
0 files changed, 0 insertions, 0 deletions