diff --git a/net/netfilter/nf_tables_api.c b/net/netfilter/nf_tables_api.c index b04d4ee1d5331d1d72535c5c6ebf903ffd0a2c6b..b42059795819ab8ef6012992bfbe8d1700e45a76 100644 --- a/net/netfilter/nf_tables_api.c +++ b/net/netfilter/nf_tables_api.c @@ -111,8 +111,8 @@ static void nft_ctx_init(struct nft_ctx *ctx, ctx->seq = nlh->nlmsg_seq; } -static struct nft_trans *nft_trans_alloc(struct nft_ctx *ctx, int msg_type, - u32 size) +static struct nft_trans *nft_trans_alloc(const struct nft_ctx *ctx, + int msg_type, u32 size) { struct nft_trans *trans;