summaryrefslogtreecommitdiffstats
path: root/README
diff options
context:
space:
mode:
authorIgor Russkikh <igor.russkikh@aquantia.com>2018-04-11 15:23:25 +0300
committerDavid S. Miller <davem@davemloft.net>2018-04-11 10:41:36 -0400
commit9a11aff25fd43d5bd2660ababdc9f564b0ba183a (patch)
tree89326f75b28fd9cbc9bae684c1fe9c22915825f4 /README
parentcce96d1883dae4b79f44890e5118243d806da286 (diff)
downloadlinux-9a11aff25fd43d5bd2660ababdc9f564b0ba183a.tar.bz2
net: aquantia: oops when shutdown on already stopped device
In case netdev is closed at the moment of pci shutdown, aq_nic_stop gets called second time. napi_disable in that case hangs indefinitely. In other case, if device was never opened at all, we get oops because of null pointer access. We should invoke aq_nic_stop conditionally, only if device is running at the moment of shutdown. Reported-by: David Arcari <darcari@redhat.com> Fixes: 90869ddfefeb ("net: aquantia: Implement pci shutdown callback") Signed-off-by: Igor Russkikh <igor.russkikh@aquantia.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions