aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts-by-pid.py
diff options
context:
space:
mode:
authorRussell King <[email protected]>2014-07-08 12:40:28 +0100
committerDavid S. Miller <[email protected]>2014-07-08 20:02:59 -0700
commit9a7ba4381af4defa7834c73c8a015532c06f4e8e (patch)
treec10d2d9cc5e2aab26c948a6ab62cd3b90fb0ba78 /tools/perf/scripts/python/syscall-counts-by-pid.py
parent31a6de34f3daa9b1f412931befd9f82fd4a1b968 (diff)
net: fec: quiesce packet processing before stopping device in fec_set_features()
fec_set_features() calls fec_stop() to stop the transmit ring while the transmit queue is still active. This can lead to the transmit ring being restarted by an intervening packet queued for transmission, or by the tx quirk timer expiring. Fix this by disabling NAPI (which ensures that the NAPI handlers are not running), and then take the transmit lock while we stop and restart the adapter (which prevents new packets being queued). Acked-by: Fugang Duan <[email protected]> Signed-off-by: Russell King <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions