Subject: Re: [PATCH] check the return value of ndo_select_queue()

From: Eric Dumazet <[email-masked]>
Date: Mon, 09 Nov 2009 11:02:42 +0100

Eric Dumazet a écrit :
> 
> Yes, but this is a _very_ unlikely condition (a bug IMHO), so you could use :
> 
> if (unlikely(queue_index >= dev->real_num_tx_queues)) {
> 	...
> }
> 
> (This unlikely() clause is implied in WARN... macros)
> 

Also, you want to trigger this message only once, or ratelimit it at least