netfilter: nft_flow_offload: fix underflow in flowtable reference counter
authorwenxu <wenxu@ucloud.cn>
Fri, 20 Dec 2019 09:08:46 +0000 (17:08 +0800)
committerPablo Neira Ayuso <pablo@netfilter.org>
Sun, 5 Jan 2020 09:06:22 +0000 (10:06 +0100)
commit8ca79606cdfde2e37ee4f0707b9d1874a6f0eb38
tree40559084260b0e9ebdc2130ea41e1ceeef52cc01
parent1b789577f655060d98d20ed0c6f9fbd469d6ba63
netfilter: nft_flow_offload: fix underflow in flowtable reference counter

The .deactivate and .activate interfaces already deal with the reference
counter. Otherwise, this results in spurious "Device is busy" errors.

Fixes: a3c90f7a2323 ("netfilter: nf_tables: flow offload expression")
Signed-off-by: wenxu <wenxu@ucloud.cn>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nft_flow_offload.c