[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20201122172413.GG643756@sasha-vm>
Date: Sun, 22 Nov 2020 12:24:13 -0500
From: Sasha Levin <sashal@...nel.org>
To: Florian Westphal <fw@...len.de>
Cc: Cong Wang <xiyou.wangcong@...il.com>, netdev@...r.kernel.org,
Cong Wang <cong.wang@...edance.com>, liuzx@...wnsec.com,
Edward Cree <ecree@...arflare.com>, stable@...r.kernel.org,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Subject: Re: [Patch stable] netfilter: clear skb->next in NF_HOOK_LIST()
On Sat, Nov 21, 2020 at 11:22:49PM +0100, Florian Westphal wrote:
>Cong Wang <xiyou.wangcong@...il.com> wrote:
>> From: Cong Wang <cong.wang@...edance.com>
>>
>> NF_HOOK_LIST() uses list_del() to remove skb from the linked list,
>> however, it is not sufficient as skb->next still points to other
>> skb. We should just call skb_list_del_init() to clear skb->next,
>> like the rest places which using skb list.
>>
>> This has been fixed in upstream by commit ca58fbe06c54
>> ("netfilter: add and use nf_hook_slow_list()").
>
>Thanks Cong, agree with this change, afaics its applicable to 4.19.y and 5.4.y.
Queued for 5.4 and 4.19, thanks!
--
Thanks,
Sasha
Powered by blists - more mailing lists