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)
commit8955b90c3cdad199137809aac8ccbbb585355913
treed8cf6d08be8bb0bc1c84b0b676ff6ecc48db515e
parent1bfa4d0cb5adf954e0f4870a3ecb7cb19506320c
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: b57dc7c13ea9 ("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