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

David Miller davem at davemloft.net
Sun Feb 3 19:40:05 UTC 2019

From: Florian Fainelli <f.fainelli at gmail.com>
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 at gmail.com>


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

More information about the Bridge mailing list