]> git.baikalelectronics.ru Git - kernel.git/commit
net/sched: act_ct: fix err check for nf_conntrack_confirm
authorwenxu <wenxu@ucloud.cn>
Fri, 2 Jul 2021 03:34:31 +0000 (11:34 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 2 Jul 2021 19:07:08 +0000 (12:07 -0700)
commit679bbb31bfff19ac8c20901be260e23919950ddf
treed8cf6d08be8bb0bc1c84b0b676ff6ecc48db515e
parent79ace1a96ff9245e193600575164309f577cac3d
net/sched: act_ct: fix err check for nf_conntrack_confirm

The confirm operation should be checked. If there are any failed,
the packet should be dropped like in ovs and netfilter.

Fixes: 1a23a38cf53c ("net/sched: Introduce action ct")
Signed-off-by: wenxu <wenxu@ucloud.cn>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/act_ct.c