In this patch series, duplicate code in nf_flow_table_core.c are removed.

First patch makes nf_flow_table_iterate() static because
that is local function.

Second patch makes nf_flow_offfload_gc_step() simplier.
Both nf_flow_offload_gc_step() and nf_flow_table_iterate()
have same rhashtable lookup routine.
So that duplicate code in nf_flow_offload_gc_step() can be removed.

Taehee Yoo (2):
  netfilter: nf_flow_table: make nf_flow_table_iterate() static
  netfilter: nf_flow_table: simplify nf_flow_offload_gc_step()

 include/net/netfilter/nf_flow_table.h |  4 ---
 net/netfilter/nf_flow_table_core.c    | 42 +++++++--------------------
 2 files changed, 11 insertions(+), 35 deletions(-)

-- 
2.17.1

Reply via email to