[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <06700aee-f62f-7b83-de21-4f5b4928978e@ucloud.cn>
Date: Mon, 6 Jul 2020 23:08:27 +0800
From: wenxu <wenxu@...oud.cn>
To: Florian Westphal <fw@...len.de>
Cc: davem@...emloft.net, pablo@...filter.org, netdev@...r.kernel.org,
netfilter-devel@...r.kernel.org
Subject: Re: [PATCH net-next 1/3] netfilter: nf_defrag_ipv4: Add
nf_ct_frag_gather support
在 2020/7/6 22:38, Florian Westphal 写道:
> wenxu@...oud.cn <wenxu@...oud.cn> wrote:
>> From: wenxu <wenxu@...oud.cn>
>>
>> Add nf_ct_frag_gather for conntrack defrag and it will
>> elide the CB clear when packets are defragmented by
>> connection tracking
> Why is this patch required?
> Can't you rework ip_defrag to avoid the cb clear if you need that?
The ip_defrag used by ip stack and can work with the cb setting.
Defragment case only for conntrack maybe need to avoid the cb
clear. So it is more clear to nf_ct_frag_gather for conntrack like the
function nf_ct_frag6_gather for ipv6.
But this patch should reused some function in ip_defrag like Wang Cong's
suggestion
>
Powered by blists - more mailing lists