diff options
author | 2020-03-17 14:13:44 +0100 | |
---|---|---|
committer | 2020-03-19 11:37:31 +0100 | |
commit | c604cc691c10cb23ce7fb4ea2c9beb703d321790 (patch) | |
tree | 083b1b2fe5b522490b71586a07184a7b109ce52d /include/net/netfilter/nf_tables.h | |
parent | Merge tag 'mlx5-updates-2020-03-17' of git://git.kernel.org/pub/scm/linux/kernel/git/saeed/linux (diff) | |
download | wireguard-linux-c604cc691c10cb23ce7fb4ea2c9beb703d321790.tar.xz wireguard-linux-c604cc691c10cb23ce7fb4ea2c9beb703d321790.zip |
netfilter: nf_tables: move nft_expr_clone() to nf_tables_api.c
Move the nft_expr_clone() helper function to the core.
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/net/netfilter/nf_tables.h')
-rw-r--r-- | include/net/netfilter/nf_tables.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/netfilter/nf_tables.h b/include/net/netfilter/nf_tables.h index 5d80e09f8148..af2ed70d7eed 100644 --- a/include/net/netfilter/nf_tables.h +++ b/include/net/netfilter/nf_tables.h @@ -846,6 +846,7 @@ static inline void *nft_expr_priv(const struct nft_expr *expr) return (void *)expr->data; } +int nft_expr_clone(struct nft_expr *dst, struct nft_expr *src); void nft_expr_destroy(const struct nft_ctx *ctx, struct nft_expr *expr); int nft_expr_dump(struct sk_buff *skb, unsigned int attr, const struct nft_expr *expr); |