summaryrefslogtreecommitdiff
path: root/crypto/twofish_common.c
diff options
context:
space:
mode:
authorstephen hemminger <stephen@networkplumber.org>2017-03-09 14:58:29 -0800
committerDavid S. Miller <davem@davemloft.net>2017-03-12 23:13:41 -0700
commit7ce101246655935b014b11d81f815342921f5654 (patch)
tree3f3e433183069f6c8f6fe40557d6db1e5d4424ee /crypto/twofish_common.c
parentecd052250b51c8cee4d9720adea05690dfc77c64 (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/twofish_common.c')
0 files changed, 0 insertions, 0 deletions