diff options
author | 2014-07-08 12:40:38 +0100 | |
---|---|---|
committer | 2014-07-08 20:02:59 -0700 | |
commit | f208ce10046888052d3a5e9fc88b7c1b819877d2 (patch) | |
tree | b1e30de5990b75edcb4f0a4fe2bf72068665230d /tools/perf/scripts/python | |
parent | net: fec: quiesce packet processing before changing features (diff) | |
download | linux-dev-f208ce10046888052d3a5e9fc88b7c1b819877d2.tar.xz linux-dev-f208ce10046888052d3a5e9fc88b7c1b819877d2.zip |
net: fec: quiesce packet processing when taking link down in fec_enet_adjust_link()
When the link goes down, the adjust_link method will be called, but
there is no synchronisation to ensure that we won't be processing some
last remaining packets via the NAPI handlers while performing a reset of
the device.
Add the necessary synchronisation to ensure that packet processing
is complete before we stop and reset the FEC.
Acked-by: Fugang Duan <B38611@freescale.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions