[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4545d7af-3cea-4411-83ee-c6eb5696b15f@163.com>
Date: Tue, 4 Jun 2024 14:34:23 +0800
From: Jianguo Wu <wujianguo106@....com>
To: Pablo Neira Ayuso <pablo@...filter.org>
Cc: netdev <netdev@...r.kernel.org>, contact@...elbtn.com,
David Ahern <dsahern@...nel.org>, Paolo Abeni <pabeni@...hat.com>
Subject: Re: [PATCH net-next] seg6: fix parameter passing when calling
NF_HOOK() in End.DX4 and End.DX6 behaviors
Hi, Pablo
On 2024/6/4 3:23, Pablo Neira Ayuso wrote:
> Hi,
>
> On Thu, May 30, 2024 at 03:43:38PM +0800, Jianguo Wu wrote:
>> From: Jianguo Wu <wujianguo@...natelecom.cn>
>>
>> input_action_end_dx4() and input_action_end_dx6() call NF_HOOK() for PREROUTING hook,
>> for PREROUTING hook, we should passing a valid indev, and a NULL outdev to NF_HOOK(),
>> otherwise may trigger a NULL pointer dereference, as below:
>
> Could you also add a selftest to improve coverage of this infrastructure?
>
Sure, I will add a selftest to cover this case.
> Thanks.
Powered by blists - more mailing lists