]> git.baikalelectronics.ru Git - kernel.git/commit
igb: Fix NULL assignment to incorrect variable in igb_reset_q_vector
authorToshiaki Makita <makita.toshiaki@lab.ntt.co.jp>
Mon, 13 Apr 2015 09:15:11 +0000 (18:15 +0900)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 7 May 2015 12:11:29 +0000 (05:11 -0700)
commite23a231d111252f570672bb3a6577306b41267fd
treed238aa343309dadbca5e6d19c2805852089dd9b7
parent64b2d014982d75a14d6add13a472537b9ac66720
igb: Fix NULL assignment to incorrect variable in igb_reset_q_vector

adapter->tx_ring is set to NULL where rx_ring should be.

Fixes: dc38615eac1d ("igb: Combine q_vector and ring allocation into a single function")
Signed-off-by: Toshiaki Makita <makita.toshiaki@lab.ntt.co.jp>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/igb/igb_main.c