Re: [PATCH][V2] net: fix __ip_mc_inc_group usage

2019-08-20 Thread David Miller
From: Li RongQing Date: Tue, 20 Aug 2019 13:52:47 +0800 > in ip_mc_inc_group, memory allocation flag, not mcast mode, is expected > by __ip_mc_inc_group > > similar issue in __ip_mc_join_group, both mcase mode and gfp_t are needed > here, so use ip_mc_inc_group(...) > > Fixes: 9fb20801dab4

[PATCH][V2] net: fix __ip_mc_inc_group usage

2019-08-19 Thread Li RongQing
in ip_mc_inc_group, memory allocation flag, not mcast mode, is expected by __ip_mc_inc_group similar issue in __ip_mc_join_group, both mcase mode and gfp_t are needed here, so use ip_mc_inc_group(...) Fixes: 9fb20801dab4 ("net: Fix ip_mc_{dec,inc}_group allocation context") Signed-off-by: Li