[etherlab-dev] Typo in igb_main for 3.18

Giuseppe Corbelli corbelligiuseppe at mesdan.it
Tue Feb 19 11:09:50 CET 2019


Hi all
I was looking at igb drivers for 3.18 and 4.4 kernels and noticed that 
in igb_main-3.18-ethercat.c:1048 we have

if (q_vector->rx.ring)
   adapter->tx_ring[q_vector->rx.ring->queue_index] = NULL;

meaning that we are testing rx.ring and cleaning TX ring. I don't know 
what the code is doing exactly but this sounds like a typo. 4.4 version 
is fine.

changeset:   2727:5f29e43487df
branch:      stable-1.5

-- 
Giuseppe Corbelli


More information about the etherlab-dev mailing list