From: wenxu@ucloud.cn
To: kuba@kernel.org, marcelo.leitner@gmail.com, vladbu@nvidia.com
Cc: netdev@vger.kernel.org
Subject: [PATCH v10 net-next 0/3] net/sched: fix over mtu packet of defrag in
Date: Thu, 12 Nov 2020 11:24:54 +0800 [thread overview]
Message-ID: <1605151497-29986-1-git-send-email-wenxu@ucloud.cn> (raw)
From: wenxu <wenxu@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.
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.
wenxu (3):
net/sched: fix miss init the mru in qdisc_skb_cb
net/sched: act_mirred: refactor the handle of xmit
net/sched: act_frag: add implict packet fragment support.
include/net/act_api.h | 18 +++++
include/net/sch_generic.h | 5 --
net/core/dev.c | 2 +
net/sched/Kconfig | 13 ++++
net/sched/Makefile | 1 +
net/sched/act_api.c | 44 +++++++++++++
net/sched/act_ct.c | 7 ++
net/sched/act_frag.c | 164 ++++++++++++++++++++++++++++++++++++++++++++++
net/sched/act_mirred.c | 21 ++++--
9 files changed, 264 insertions(+), 11 deletions(-)
create mode 100644 net/sched/act_frag.c
--
1.8.3.1
next reply other threads:[~2020-11-12 5:32 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-12 3:24 wenxu [this message]
2020-11-12 3:24 ` [PATCH v10 net-next 1/3] net/sched: fix miss init the mru in qdisc_skb_cb wenxu
2020-11-12 3:24 ` [PATCH v10 net-next 2/3] net/sched: act_mirred: refactor the handle of xmit wenxu
2020-11-12 3:24 ` [PATCH v10 net-next 3/3] net/sched: act_frag: add implict packet fragment support wenxu
2020-11-12 22:20 ` Jakub Kicinski
2020-11-13 2:25 ` Marcelo Ricardo Leitner
2020-11-13 17:04 ` Jakub Kicinski
2020-11-14 18:05 ` Cong Wang
2020-11-14 22:46 ` Marcelo Ricardo Leitner
2020-11-16 18:57 ` Cong Wang
2020-11-15 13:05 ` wenxu
2020-11-15 16:26 ` Jamal Hadi Salim
2020-11-16 1:09 ` wenxu
2020-11-16 19:01 ` Cong Wang
2020-11-17 4:01 ` wenxu
2020-11-17 22:43 ` Cong Wang
2020-11-17 23:21 ` wenxu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1605151497-29986-1-git-send-email-wenxu@ucloud.cn \
--to=wenxu@ucloud.cn \
--cc=kuba@kernel.org \
--cc=marcelo.leitner@gmail.com \
--cc=netdev@vger.kernel.org \
--cc=vladbu@nvidia.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox