[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAM_iQpW_odL=iqONVX2cLqPr_XQ-J40Ruv+kYMvwPThR42Udrg@mail.gmail.com>
Date: Mon, 21 Aug 2017 12:58:03 -0700
From: Cong Wang <xiyou.wangcong@...il.com>
To: David Miller <davem@...emloft.net>
Cc: Gao Feng <gfree.wind@....163.com>,
Linux Kernel Network Developers <netdev@...r.kernel.org>,
Jamal Hadi Salim <jhs@...atatu.com>
Subject: Re: [PATCH net-next] net: sched: Add the invalid handle check in qdisc_class_find
On Mon, Aug 21, 2017 at 10:47 AM, David Miller <davem@...emloft.net> wrote:
> From: gfree.wind@....163.com
> Date: Fri, 18 Aug 2017 15:23:24 +0800
>
>> From: Gao Feng <gfree.wind@....163.com>
>>
>> Add the invalid handle "0" check to avoid unnecessary search, because
>> the qdisc uses the skb->priority as the handle value to look up, and
>> it is "0" usually.
>>
>> Signed-off-by: Gao Feng <gfree.wind@....163.com>
>
> Jamal, Cong, please review.
>
> If 'id' zero is never hashed into the tables, this change looks
> legitimate.
Looks good to me.
Gao, in the future please Cc maintainers directly, you can
use ./scripts/get_maintainer.pl.
Thanks.
Powered by blists - more mailing lists