Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fab10fe3 authored by Yan Zheng's avatar Yan Zheng Committed by David S. Miller
Browse files

[MCAST] ipv6: Fix address size in grec_size

parent 83fa3400
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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,