summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorFlorian Fainelli <f.fainelli@gmail.com>2016-12-24 06:56:56 +0300
committerDavid S. Miller <davem@davemloft.net>2016-12-26 19:26:16 +0300
commite6afb1ad88feddf2347ea779cfaf4d03d3cd40b6 (patch)
tree798d9bc9325e7c42befe995e6ab55ebf8cc4759a /net
parent628185cfddf1dfb701c4efe2cfd72cf5b09f5702 (diff)
downloadlinux-e6afb1ad88feddf2347ea779cfaf4d03d3cd40b6.tar.xz
net: korina: Fix NAPI versus resources freeing
Commit beb0babfb77e ("korina: disable napi on close and restart") introduced calls to napi_disable() that were missing before, unfortunately this leaves a small window during which NAPI has a chance to run, yet we just freed resources since korina_free_ring() has been called: Fix this by disabling NAPI first then freeing resource, and make sure that we also cancel the restart task before doing the resource freeing. Fixes: beb0babfb77e ("korina: disable napi on close and restart") Reported-by: Alexandros C. Couloumbis <alex@ozo.com> Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions