Re: [PATCH net v2] net/sched: act_ct: fix miss set mru for ovs after defrag in act_ct

From
David Miller <davem@davemloft.net>
Date
2020-08-03 22:05:46
Reply to
unknown sender, 2020-07-31
From: <redacted>
Date: Fri, 31 Jul 2020 10:45:01 +0800
From: wenxu <redacted>

When openvswitch conntrack offload with act_ct action. Fragment packets
defrag in the ingress tc act_ct action and miss the next chain. Then the
packet pass to the openvswitch datapath without the mru. The over
mtu packet will be dropped in output action in openvswitch for over mtu.

"kernel: net2: dropped over-mtu packet: 1528 > 1500"

This patch add mru in the tc_skb_ext for adefrag and miss next chain
situation. And also add mru in the qdisc_skb_cb. The act_ct set the mru
to the qdisc_skb_cb when the packet defrag. And When the chain miss,
The mru is set to tc_skb_ext which can be got by ovs datapath.

Fixes: b57dc7c13ea9 ("net/sched: Introduce action ct")
Signed-off-by: wenxu <redacted>
Applied and queued up for -stable, thank you.
Thread (3 messages) 3 messages, 3 authors, last reply 2020-08-03
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help