net/sched: act_api: fix miss set post_ct for ovs after do conntrack in act_ct
When openvswitch conntrack offload with act_ct action. The first rule do conntrack in the act_ct in tc subsystem. And miss the next rule in the tc and fallback to the ovs datapath but miss set post_ct flag which will lead the ct_state_key with -trk flag. Fixes: 7baf2429 ("net/sched: cls_flower add CT_FLAGS_INVALID flag support") Signed-off-by:wenxu <wenxu@ucloud.cn> Reviewed-by:
Marcelo Ricardo Leitner <marcelo.leitner@gmail.com> Signed-off-by:
David S. Miller <davem@davemloft.net>
Showing
- include/linux/skbuff.h 1 addition, 0 deletionsinclude/linux/skbuff.h
- net/openvswitch/conntrack.c 5 additions, 3 deletionsnet/openvswitch/conntrack.c
- net/openvswitch/conntrack.h 4 additions, 2 deletionsnet/openvswitch/conntrack.h
- net/openvswitch/flow.c 3 additions, 1 deletionnet/openvswitch/flow.c
- net/sched/cls_api.c 1 addition, 0 deletionsnet/sched/cls_api.c
Loading
Please register or sign in to comment