On Thu, May 29, 2014 at 11:48:27AM +0200, Pablo Neira Ayuso wrote: > Use GFP_ATOMIC allocations when sending removal notifications of > anonymous sets from rcu callback context. Sleeping in that context > is illegal. > > Signed-off-by: Pablo Neira Ayuso <pablo@xxxxxxxxxxxxx> > --- > net/netfilter/nf_tables_api.c | 12 ++++++------ > 1 file changed, 6 insertions(+), 6 deletions(-) > > diff --git a/net/netfilter/nf_tables_api.c b/net/netfilter/nf_tables_api.c > index dbf8236..043f9a3 100644 > --- a/net/netfilter/nf_tables_api.c > +++ b/net/netfilter/nf_tables_api.c > @@ -2191,7 +2191,7 @@ nla_put_failure: > > static int nf_tables_set_notify(const struct nft_ctx *ctx, > const struct nft_set *set, > - int event) > + int event, int gfp_flags) Minor improvement: the proper type is gfp_t. -- 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