Re: [PATCH v2 net-next ] net/sched: cls_flower add CT_FLAGS_INVALID flag support

2021-01-20 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net-next.git (refs/heads/master): On Tue, 19 Jan 2021 16:31:50 +0800 you wrote: > From: wenxu > > This patch add the TCA_FLOWER_KEY_CT_FLAGS_INVALID flag to > match the ct_state with invalid for conntrack. > > Signed-off-by: wenxu > > [...] Here is th

Re: [PATCH v2 net-next ] net/sched: cls_flower add CT_FLAGS_INVALID flag support

2021-01-20 Thread wenxu
On 1/21/2021 9:09 AM, Cong Wang wrote: > On Wed, Jan 20, 2021 at 3:40 PM Marcelo Ricardo Leitner > wrote: >> On Wed, Jan 20, 2021 at 02:18:41PM -0800, Cong Wang wrote: >>> On Tue, Jan 19, 2021 at 12:33 AM wrote: diff --git a/net/core/flow_dissector.c b/net/core/flow_dissector.c index

Re: [PATCH v2 net-next ] net/sched: cls_flower add CT_FLAGS_INVALID flag support

2021-01-20 Thread Marcelo Ricardo Leitner
On Wed, Jan 20, 2021 at 02:18:41PM -0800, Cong Wang wrote: > On Tue, Jan 19, 2021 at 12:33 AM wrote: > > diff --git a/net/core/flow_dissector.c b/net/core/flow_dissector.c > > index 2d70ded..c565c7a 100644 > > --- a/net/core/flow_dissector.c > > +++ b/net/core/flow_dissector.c > > @@ -237,9 +237,8

Re: [PATCH v2 net-next ] net/sched: cls_flower add CT_FLAGS_INVALID flag support

2021-01-20 Thread Cong Wang
On Tue, Jan 19, 2021 at 12:33 AM wrote: > diff --git a/net/core/flow_dissector.c b/net/core/flow_dissector.c > index 2d70ded..c565c7a 100644 > --- a/net/core/flow_dissector.c > +++ b/net/core/flow_dissector.c > @@ -237,9 +237,8 @@ void skb_flow_dissect_meta(const struct sk_buff *skb, > void > sk

Re: [PATCH v2 net-next ] net/sched: cls_flower add CT_FLAGS_INVALID flag support

2021-01-20 Thread Cong Wang
On Wed, Jan 20, 2021 at 3:40 PM Marcelo Ricardo Leitner wrote: > > On Wed, Jan 20, 2021 at 02:18:41PM -0800, Cong Wang wrote: > > On Tue, Jan 19, 2021 at 12:33 AM wrote: > > > diff --git a/net/core/flow_dissector.c b/net/core/flow_dissector.c > > > index 2d70ded..c565c7a 100644 > > > --- a/net/co

Re: [PATCH v2 net-next ] net/sched: cls_flower add CT_FLAGS_INVALID flag support

2021-01-19 Thread Marcelo Ricardo Leitner
Acked-by: Marcelo Ricardo Leitner The patch looks good to me, just some side comments below. On Tue, Jan 19, 2021 at 04:31:50PM +0800, we...@ucloud.cn wrote: > --- a/net/core/dev.c > +++ b/net/core/dev.c > @@ -3878,6 +3878,7 @@ int dev_loopback_xmit(struct net *net, struct sock *sk, > struct sk

[PATCH v2 net-next ] net/sched: cls_flower add CT_FLAGS_INVALID flag support

2021-01-19 Thread wenxu
From: wenxu This patch add the TCA_FLOWER_KEY_CT_FLAGS_INVALID flag to match the ct_state with invalid for conntrack. Signed-off-by: wenxu --- v2: initialize post_ct right on the declaration include/linux/skbuff.h | 4 ++-- include/net/sch_generic.h| 1 + include/uapi/linux/pkt_c