diff options
author | stephen hemminger <stephen@networkplumber.org> | 2017-03-09 14:58:29 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-03-12 23:13:41 -0700 |
commit | 7ce101246655935b014b11d81f815342921f5654 (patch) | |
tree | 3f3e433183069f6c8f6fe40557d6db1e5d4424ee /crypto/ablkcipher.c | |
parent | ecd052250b51c8cee4d9720adea05690dfc77c64 (diff) |
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 'crypto/ablkcipher.c')
0 files changed, 0 insertions, 0 deletions