Re: [PATCH net-next] net: Fix ip_mc_{dec,inc}_group allocation context

From: David Miller
Date: Sun Feb 03 2019 - 14:40:09 EST


From: Florian Fainelli <f.fainelli@xxxxxxxxx>
Date: Fri, 1 Feb 2019 20:20:52 -0800

> After 4effd28c1245 ("bridge: join all-snoopers multicast address"), I
> started seeing the following sleep in atomic warnings:
...
> while toggling the bridge's multicast_snooping attribute dynamically.
>
> Pass a gfp_t down to igmpv3_add_delrec(), introduce
> __igmp_group_dropped() and introduce __ip_mc_dec_group() to take a gfp_t
> argument.
>
> Similarly introduce ____ip_mc_inc_group() and __ip_mc_inc_group() to
> allow caller to specify gfp_t.
>
> IPv6 part of the patch appears fine.
>
> Fixes: 4effd28c1245 ("bridge: join all-snoopers multicast address")
> Signed-off-by: Florian Fainelli <f.fainelli@xxxxxxxxx>

Applied.

Maybe you could submit a quick test case since you had a reproducer?