[RFC PATCH nf-next] netfilter: nf_tables: nft_flow_offload_type can be static

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Fixes: db2ff0f2f440 ("netfilter: nf_tables: flow offload expression")
Signed-off-by: Fengguang Wu <fengguang.wu@xxxxxxxxx>
---
 nft_flow_offload.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net/netfilter/nft_flow_offload.c b/net/netfilter/nft_flow_offload.c
index b7c7082..e7f16fe 100644
--- a/net/netfilter/nft_flow_offload.c
+++ b/net/netfilter/nft_flow_offload.c
@@ -176,7 +176,7 @@ static int nft_flow_offload_dump(struct sk_buff *skb, const struct nft_expr *exp
 	return -1;
 }
 
-struct nft_expr_type nft_flow_offload_type;
+static struct nft_expr_type nft_flow_offload_type;
 static const struct nft_expr_ops nft_flow_offload_ops = {
 	.type		= &nft_flow_offload_type,
 	.size		= NFT_EXPR_SIZE(sizeof(struct nft_flow_offload)),
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux