From: wenxu <we...@ucloud.cn>

This series clean the offload things for both chain and rules when the
related device unregister

this version modify the 2/4 and 3/4 and only refactor the
nft_flow_offload_chain/rule function with no add other functions

wenxu (4):
  netfilter: nf_tables_offload: add __nft_offload_get_chain function
  netfilter: nf_offload: refactor the nft_flow_offload_chain function
  netfilter: nf_offload: refactor the nft_flow_offload_rule function
  netfilter: nf_offload: clean offload things when the device unregister

 include/net/netfilter/nf_tables_offload.h |   2 +-
 net/netfilter/nf_tables_api.c             |   9 +-
 net/netfilter/nf_tables_offload.c         | 135 ++++++++++++++++++++++--------
 3 files changed, 110 insertions(+), 36 deletions(-)

-- 
1.8.3.1

Reply via email to