]> git.baikalelectronics.ru Git - kernel.git/commit
net/sched: cls_flower: validate ct_state for invalid and reply flags
authorwenxu <wenxu@ucloud.cn>
Tue, 23 Feb 2021 07:11:55 +0000 (15:11 +0800)
committerJakub Kicinski <kuba@kernel.org>
Tue, 23 Feb 2021 20:23:44 +0000 (12:23 -0800)
commitbbaed9f87b0236037d0e4530678443d9a3f0fdf3
treea57cdd352bc75cc606535ffb91a5aa6ae9ba8bc0
parent32f0edeb4ce209bf24a8a45f17c2d024ceccc87f
net/sched: cls_flower: validate ct_state for invalid and reply flags

Add invalid and reply flags validate in the fl_validate_ct_state.
This makes the checking complete if compared to ovs'
validate_ct_state().

Signed-off-by: wenxu <wenxu@ucloud.cn>
Reviewed-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
Link: https://lore.kernel.org/r/1614064315-364-1-git-send-email-wenxu@ucloud.cn
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/sched/cls_flower.c