diff options
author | Todd Fujinaka <todd.fujinaka@intel.com> | 2015-03-21 03:41:53 +0300 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2015-03-21 03:45:12 +0300 |
commit | f28ea083a3d21abec434f429f1375b3639b234c4 (patch) | |
tree | 546f1ae79709f4f2eaf9edfaa88189d4a8978c2e /drivers/fmc | |
parent | 152c0a976c71386c67c89969acc427dc5cf802b8 (diff) | |
download | linux-f28ea083a3d21abec434f429f1375b3639b234c4.tar.xz |
igb: 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 <eliezer.tamir@linux.intel.com>
Signed-off-by: Todd Fujinaka <todd.fujinaka@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/fmc')
0 files changed, 0 insertions, 0 deletions