netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [Patch net] igb: fix a typo in igb_reset_q_vector()
@ 2015-04-21 23:20 Cong Wang
  2015-04-22  0:18 ` Jeff Kirsher
  2015-04-22  0:26 ` Toshiaki Makita
  0 siblings, 2 replies; 6+ messages in thread
From: Cong Wang @ 2015-04-21 23:20 UTC (permalink / raw)
  To: netdev; +Cc: Cong Wang, Alexander Duyck, Jeff Kirsher

Fixes: 5536d2102a2d ("igb: Combine q_vector and ring allocation into a single function")
Cc: Alexander Duyck <alexander.h.duyck@redhat.com>
Cc: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
---
 drivers/net/ethernet/intel/igb/igb_main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/ethernet/intel/igb/igb_main.c b/drivers/net/ethernet/intel/igb/igb_main.c
index 8457d03..85bbeb2 100644
--- a/drivers/net/ethernet/intel/igb/igb_main.c
+++ b/drivers/net/ethernet/intel/igb/igb_main.c
@@ -1036,7 +1036,7 @@ static void igb_reset_q_vector(struct igb_adapter *adapter, int v_idx)
 		adapter->tx_ring[q_vector->tx.ring->queue_index] = NULL;
 
 	if (q_vector->rx.ring)
-		adapter->tx_ring[q_vector->rx.ring->queue_index] = NULL;
+		adapter->rx_ring[q_vector->rx.ring->queue_index] = NULL;
 
 	netif_napi_del(&q_vector->napi);
 
-- 
1.8.3.1

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-04-22  7:16 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-21 23:20 [Patch net] igb: fix a typo in igb_reset_q_vector() Cong Wang
2015-04-22  0:18 ` Jeff Kirsher
2015-04-22  0:26 ` Toshiaki Makita
2015-04-22  0:29   ` Jeff Kirsher
2015-04-22  4:35     ` Cong Wang
2015-04-22  7:16       ` Jeff Kirsher

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).