summaryrefslogtreecommitdiffstats
path: root/net/bridge
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2015-06-12 13:55:41 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2015-06-15 23:02:31 +0200
commit2cbce139fc57bc2625f88add055d0b94f00c3352 (patch)
treee2539d8448758cd17d99a15bedfbeddfdb57f9ba /net/bridge
parent711bdde6a884354ddae8da2fcb495b2a9364cc90 (diff)
downloadtalos-obmc-linux-2cbce139fc57bc2625f88add055d0b94f00c3352.tar.gz
talos-obmc-linux-2cbce139fc57bc2625f88add055d0b94f00c3352.zip
netfilter: nf_tables: attach net_device to basechain
The device is part of the hook configuration, so instead of a global configuration per table, set it to each of the basechain that we create. This patch reworks ebddf1a8d78a ("netfilter: nf_tables: allow to bind table to net_device"). Note that this adds a dev_name field in the nft_base_chain structure which is required the netdev notification subscription that follows up in a patch to handle gone net_devices. Suggested-by: Patrick McHardy <kaber@trash.net> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/bridge')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud