From: Todd Fujinaka Date: Sat, 21 Mar 2015 00:41:54 +0000 (-0700) Subject: igbvf: use netif_carrier_off earlier when bringing if down X-Git-Tag: omap-for-v4.1/fixes-rc1~141^2~186^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=784401bfc0b22b5521492047884e8d834de4dfab;p=pandora-kernel.git igbvf: use netif_carrier_off earlier when bringing if down Use netif_carrier_off() first, since that will prevent the stack from queuing more packets to this IF. This operation is fast, and should behave much nicer when trying to bring down an interface under load. Reported-by: Eliezer Tamir Signed-off-by: Todd Fujinaka Signed-off-by: Jeff Kirsher --- Reading git-diff-tree failed