From: Russell King Date: Tue, 8 Jul 2014 11:40:38 +0000 (+0100) Subject: net: fec: quiesce packet processing when taking link down in fec_enet_adjust_link() X-Git-Tag: omap-for-v3.17/fixes-against-rc2~149^2~202^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f208ce10046888052d3a5e9fc88b7c1b819877d2;p=pandora-kernel.git 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 Signed-off-by: Russell King Signed-off-by: David S. Miller --- Reading git-diff-tree failed