net/sched: cls_flower: Reject invalid ct_state flags rules
authorwenxu <wenxu@ucloud.cn>
Tue, 9 Feb 2021 06:37:49 +0000 (14:37 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 10 Feb 2021 23:07:45 +0000 (15:07 -0800)
commit1bcc51ac0731aab1b109b2cd5c3d495f1884e5ca
tree4a764690d8e26ec28f2578280555519f50a39f9b
parent291009f656e8eaebbdfd3a8d99f6b190a9ce9deb
net/sched: cls_flower: Reject invalid ct_state flags rules

Reject the unsupported and invalid ct_state flags of cls flower rules.

Fixes: e0ace68af2ac ("net/sched: cls_flower: Add matching on conntrack info")
Signed-off-by: wenxu <wenxu@ucloud.cn>
Reviewed-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
Reviewed-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/uapi/linux/pkt_cls.h
net/sched/cls_flower.c