]> git.baikalelectronics.ru Git - kernel.git/commit
net/sched: act_api: fix error code in tcf_ct_flow_table_fill_tuple_ipv6()
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 31 May 2022 12:10:05 +0000 (15:10 +0300)
committerPaolo Abeni <pabeni@redhat.com>
Wed, 1 Jun 2022 11:32:04 +0000 (13:32 +0200)
commit5d63f2977348e1c3e65cccea859c845ea7d9f482
tree449e82ddadb5decb865966534697a40f3812ea49
parenta00427dc69a02de52f22cb82df1ca6b7b49fb3bc
net/sched: act_api: fix error code in tcf_ct_flow_table_fill_tuple_ipv6()

The tcf_ct_flow_table_fill_tuple_ipv6() function is supposed to return
false on failure.  It should not return negatives because that means
succes/true.

Fixes: 698eeb0f5ca4 ("act_ct: Support GRE offload")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Toshiaki Makita <toshiaki.makita1@gmail.com>
Link: https://lore.kernel.org/r/YpYFnbDxFl6tQ3Bn@kili
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
net/sched/act_ct.c