netfilter: nf_tables_offload: refactor the nft_flow_offload_rule function
authorwenxu <wenxu@ucloud.cn>
Wed, 11 Sep 2019 04:53:23 +0000 (12:53 +0800)
committerPablo Neira Ayuso <pablo@netfilter.org>
Fri, 13 Sep 2019 08:12:05 +0000 (10:12 +0200)
commite211aab73d4c804fe426960c8c9a7a26ec45f190
treed228be0fd0e7248edbac206ac1178937a1bc2bbb
parent8fc618c52d163baa7ae020e4c92474159b6006b7
netfilter: nf_tables_offload: refactor the nft_flow_offload_rule function

Pass rule, chain and flow_rule object parameters to nft_flow_offload_rule
to reuse it.

Signed-off-by: wenxu <wenxu@ucloud.cn>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nf_tables_offload.c