All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v4 net-next 0/3] net/sched: fix over mtu packet of defrag in
@ 2020-11-25  4:01 wenxu
  2020-11-25  4:01 ` [PATCH v4 net-next 1/3] net/sched: fix miss init the mru in qdisc_skb_cb wenxu
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: wenxu @ 2020-11-25  4:01 UTC (permalink / raw)
  To: kuba, jhs; +Cc: netdev, marcelo.leitner, vladbu, xiyou.wangcong

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: sch_frag: add generic packet fragment support.

 include/net/act_api.h     |   6 ++
 include/net/sch_generic.h |   5 +-
 net/core/dev.c            |   2 +
 net/sched/Makefile        |   1 +
 net/sched/act_api.c       |  16 +++++
 net/sched/act_ct.c        |   3 +
 net/sched/act_mirred.c    |  21 +++++--
 net/sched/sch_frag.c      | 150 ++++++++++++++++++++++++++++++++++++++++++++++
 8 files changed, 194 insertions(+), 10 deletions(-)
 create mode 100644 net/sched/sch_frag.c

-- 
1.8.3.1


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2020-11-27 22:40 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-25  4:01 [PATCH v4 net-next 0/3] net/sched: fix over mtu packet of defrag in wenxu
2020-11-25  4:01 ` [PATCH v4 net-next 1/3] net/sched: fix miss init the mru in qdisc_skb_cb wenxu
2020-11-25  4:01 ` [PATCH v4 net-next 2/3] net/sched: act_mirred: refactor the handle of xmit wenxu
2020-11-25  4:01 ` [PATCH v4 net-next 3/3] net/sched: sch_frag: add generic packet fragment support wenxu
2020-11-25 19:11   ` Jakub Kicinski
2020-11-26  5:03     ` Cong Wang
2020-11-26 13:26       ` Jamal Hadi Salim
2020-11-27 22:37         ` Jakub Kicinski
2020-11-25 20:04   ` Marcelo Ricardo Leitner
2020-11-26  5:14     ` Cong Wang

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.