[PATCH nf-next v3 0/4] netfilter: nf_tables_offload: clean offload things when the device unregister

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: wenxu <wenxu@xxxxxxxxx>

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

This version add a nft_offload_netdev_iterate common function

wenxu (4):
  netfilter: nf_tables_offload: refactor the nft_flow_offload_chain
    function
  netfilter: nf_tables_offload: refactor the nft_flow_offload_rule
    function
  netfilter: nf_tables_offload: add nft_offload_netdev_iterate function
  netfilter: nf_tables_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         | 122 ++++++++++++++++++++++++------
 3 files changed, 105 insertions(+), 28 deletions(-)

-- 
1.8.3.1




[Index of Archives]     [Netfitler Users]     [Berkeley Packet Filter]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux