mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
[MCAST] ipv6: Fix address size in grec_size
Signed-Off-By: Yan Zheng <[email protected]> Acked-by: YOSHIFUJI Hideaki <[email protected]> Acked-by: David L Stevens <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
83fa3400eb
commit
fab10fe37a
1 changed files with 1 additions and 1 deletions
|
|
@ -1393,7 +1393,7 @@ static void mld_sendpack(struct sk_buff *skb)
|
|||
|
||||
static int grec_size(struct ifmcaddr6 *pmc, int type, int gdel, int sdel)
|
||||
{
|
||||
return sizeof(struct mld2_grec) + 4*mld_scount(pmc,type,gdel,sdel);
|
||||
return sizeof(struct mld2_grec) + 16 * mld_scount(pmc,type,gdel,sdel);
|
||||
}
|
||||
|
||||
static struct sk_buff *add_grhead(struct sk_buff *skb, struct ifmcaddr6 *pmc,
|
||||
|
|
|
|||
Loading…
Reference in a new issue