[Bridge] [PATCH 1/7 nf-next] netfilter: separate bridge meta key from nft_meta into meta_bridge

Nikolay Aleksandrov nikolay at cumulusnetworks.com
Fri Jul 5 08:16:12 UTC 2019


On 04/07/2019 10:22, wenxu at ucloud.cn wrote:
> From: wenxu <wenxu at ucloud.cn>
> 
> Separate bridge meta key from nft_meta to meta_bridge for other key
> support. So there is n dependency between nft_meta and the bridge
> module
> 
> Signed-off-by: wenxu <wenxu at ucloud.cn>
> ---
>  include/net/netfilter/nft_meta.h       |  44 ++++++++++++
>  net/bridge/netfilter/Kconfig           |   6 ++
>  net/bridge/netfilter/Makefile          |   1 +
>  net/bridge/netfilter/nft_meta_bridge.c | 127 +++++++++++++++++++++++++++++++++
>  net/netfilter/nf_tables_core.c         |   1 +
>  net/netfilter/nft_meta.c               |  81 ++++++++-------------
>  6 files changed, 207 insertions(+), 53 deletions(-)
>  create mode 100644 include/net/netfilter/nft_meta.h
>  create mode 100644 net/bridge/netfilter/nft_meta_bridge.c
> 

Reviewed-by: Nikolay Aleksandrov <nikolay at cumulusnetworks.com>




More information about the Bridge mailing list