mbox series

[nf-next,v7,0/8] netfilter: Support the bridge family in flow table

Message ID 1567138642-11446-1-git-send-email-wenxu@ucloud.cn
Headers show
Series netfilter: Support the bridge family in flow table | expand

Message

wenxu Aug. 30, 2019, 4:17 a.m. UTC
From: wenxu <wenxu@ucloud.cn>

This series add the bridge flow table type. Implement the datapath
flow table to forward both IPV4 and IPV6 traffic through bridge.

This version just rebase with upstream fix

wenxu (8):
  netfilter:nf_flow_table: Refactor flow_offload_tuple to destination
  netfilter:nf_flow_table_core: Separate inet operation to single
    function
  netfilter:nf_flow_table_ip: Separate inet operation to single function
  bridge: add br_vlan_get_info_rcu()
  netfilter:nf_flow_table_core: Support bridge family flow offload
  netfilter:nf_flow_table_ip: Support bridge family flow offload
  netfilter:nft_flow_offload: Support bridge family flow offload
  netfilter: Support the bridge family in flow table

 include/linux/if_bridge.h                   |   7 ++
 include/net/netfilter/nf_flow_table.h       |  39 +++++-
 net/bridge/br_vlan.c                        |  25 ++++
 net/bridge/netfilter/Kconfig                |   8 ++
 net/bridge/netfilter/Makefile               |   1 +
 net/bridge/netfilter/nf_flow_table_bridge.c |  48 ++++++++
 net/netfilter/nf_flow_table_core.c          | 102 ++++++++++++---
 net/netfilter/nf_flow_table_ip.c            | 184 ++++++++++++++++++++--------
 net/netfilter/nft_flow_offload.c            | 144 ++++++++++++++++++++--
 9 files changed, 475 insertions(+), 83 deletions(-)
 create mode 100644 net/bridge/netfilter/nf_flow_table_bridge.c