[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <570BC024.1070504@axis.com>
Date: Mon, 11 Apr 2016 17:17:56 +0200
From: Lars Persson <lars.persson@...s.com>
To: Eric Dumazet <eric.dumazet@...il.com>,
Lars Persson <larper@...s.com>
CC: <netdev@...r.kernel.org>, <jhs@...atatu.com>,
<linux-kernel@...r.kernel.org>, <xiyou.wangcong@...il.com>
Subject: Re: [PATCH net v2] net: sched: do not requeue a NULL skb
On 04/11/2016 04:22 PM, Eric Dumazet wrote:
> On Mon, 2016-04-11 at 15:38 +0200, Lars Persson wrote:
>
>> I though it would be prudent because the queue can be non-empty even for
>> the case of skb=NULL. So should it be there in this patch, another patch
>> or not at all ?
>
> Then maybe change return code ?
>
> It seems strange that a validate_xmit_skb_list() failure stops the
> __qdisc_run() loop but schedules another round.
>
>
It was suggested by Cong Wang to return 0 in order to stop the loop. Do
you guys agree that the loop should be stopped for such failures ? Then
I will put the schedule call inside the if as you proposed earlier.
- Lars
Powered by blists - more mailing lists