Re: [PATCH net] net/sched: cls_flower: Return invalid for unknown ct_state flags rules

2021-02-04 Thread Marcelo Ricardo Leitner
On Thu, Feb 04, 2021 at 11:50:53PM +0800, wenxu wrote: > > 在 2021/2/4 21:38, Marcelo Ricardo Leitner 写道: > > Hi, > > > > On Thu, Feb 04, 2021 at 12:17:24PM +0800, we...@ucloud.cn wrote: > >> From: wenxu > >> > >> Reject the unknown ct_state flags of cls flower rules. This also make > >> the users

Re: [PATCH net] net/sched: cls_flower: Return invalid for unknown ct_state flags rules

2021-02-04 Thread wenxu
在 2021/2/4 21:38, Marcelo Ricardo Leitner 写道: > Hi, > > On Thu, Feb 04, 2021 at 12:17:24PM +0800, we...@ucloud.cn wrote: >> From: wenxu >> >> Reject the unknown ct_state flags of cls flower rules. This also make >> the userspace like ovs to probe the ct_state flags support in the >> kernel. > Th

Re: [PATCH net] net/sched: cls_flower: Return invalid for unknown ct_state flags rules

2021-02-04 Thread Marcelo Ricardo Leitner
Hi, On Thu, Feb 04, 2021 at 12:17:24PM +0800, we...@ucloud.cn wrote: > From: wenxu > > Reject the unknown ct_state flags of cls flower rules. This also make > the userspace like ovs to probe the ct_state flags support in the > kernel. That's a good start but it could also do some combination sa

[PATCH net] net/sched: cls_flower: Return invalid for unknown ct_state flags rules

2021-02-03 Thread wenxu
From: wenxu Reject the unknown ct_state flags of cls flower rules. This also make the userspace like ovs to probe the ct_state flags support in the kernel. Signed-off-by: wenxu --- include/uapi/linux/pkt_cls.h | 9 + net/sched/cls_flower.c | 4 2 files changed, 13 insertions