[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <5B97167F.6010401@huawei.com>
Date: Tue, 11 Sep 2018 09:12:31 +0800
From: zhong jiang <zhongjiang@...wei.com>
To: Jiri Benc <jbenc@...hat.com>
CC: <davem@...emloft.net>, <edumazet@...gle.com>,
<kuznet@....inr.ac.ru>, <yoshfuji@...ux-ipv6.org>,
<netdev@...r.kernel.org>, <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] net: ipv4: Use BUG_ON directly instead of a if condition
followed by BUG
On 2018/9/10 23:39, Jiri Benc wrote:
> On Mon, 10 Sep 2018 22:38:02 +0800, zhong jiang wrote:
>> + BUG(skb_copy_bits(skb, ptr, &tmp, 1));
> I doubt this builds.
This is my fault. should Be BUG_ON
Thanks,
zhong jiang
> Jiri
>
> .
>
Powered by blists - more mailing lists