Merge branch 'net-sched-fix-over-mtu-packet-of-defrag-in'
wenxu says: ==================== net/sched: fix over mtu packet of defrag in 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. The first patch fix miss init the qdisc_skb_cb->mru The send one refactor the hanle of xmit in act_mirred and prepare for the third one The last one add implict packet fragment support to fix the over mtu for defrag in act_ct. ==================== Link: https://lore.kernel.org/r/1606276883-6825-1-git-send-email-wenxu@ucloud.cn Signed-off-by:Jakub Kicinski <kuba@kernel.org>
Showing
- include/net/act_api.h 6 additions, 0 deletionsinclude/net/act_api.h
- include/net/sch_generic.h 1 addition, 4 deletionsinclude/net/sch_generic.h
- net/core/dev.c 2 additions, 0 deletionsnet/core/dev.c
- net/sched/Makefile 1 addition, 0 deletionsnet/sched/Makefile
- net/sched/act_api.c 16 additions, 0 deletionsnet/sched/act_api.c
- net/sched/act_ct.c 3 additions, 0 deletionsnet/sched/act_ct.c
- net/sched/act_mirred.c 15 additions, 6 deletionsnet/sched/act_mirred.c
- net/sched/sch_frag.c 150 additions, 0 deletionsnet/sched/sch_frag.c
Please register or sign in to comment