On Thu,  5 Nov 2020 18:41:33 +0800 we...@ucloud.cn wrote:
> From: wenxu <we...@ucloud.cn>
> 
> Currently kernel tc subsystem can do conntrack in act_ct. But when several
> fragment packets go through the act_ct, function tcf_ct_handle_fragments
> will defrag the packets to a big one. But the last action will redirect
> mirred to a device which maybe lead the reassembly big packet over the mtu
> of target device.
> 
> This patch add support for a xmit hook to mirred, that gets executed before
> xmiting the packet. Then, when act_ct gets loaded, it configs that hook.
> The frag xmit hook maybe reused by other modules.
> 
> Signed-off-by: wenxu <we...@ucloud.cn>

CHECK: Please don't use multiple blank lines
#53: FILE: include/net/act_api.h:258:
+
+

WARNING: added, moved or deleted file(s), does MAINTAINERS need updating?
#186: 
new file mode 100644

WARNING: line length of 95 exceeds 80 columns
#224: FILE: net/sched/act_frag.c:34:
+               __vlan_hwaccel_put_tag(skb, data->vlan_proto, data->vlan_tci & 
~VLAN_CFI_MASK);

WARNING: line length of 81 exceeds 80 columns
#314: FILE: net/sched/act_frag.c:124:
+                                    netdev_name(skb->dev), 
ntohs(skb->protocol),

Reply via email to