projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
83fa340
)
[MCAST] ipv6: Fix address size in grec_size
author
Yan Zheng
<
[email protected]
>
Wed, 5 Oct 2005 19:08:13 +0000
(12:08 -0700)
committer
David S. Miller
<
[email protected]
>
Wed, 5 Oct 2005 19:08:13 +0000
(12:08 -0700)
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]
>
net/ipv6/mcast.c
patch
|
blob
|
history
diff --git
a/net/ipv6/mcast.c
b/net/ipv6/mcast.c
index 519899fb11d50bfad08cfd0135d117193a1f1f3f..39a96c768102f3915e347fbf3880ace5445db5fc 100644
(file)
--- a/
net/ipv6/mcast.c
+++ b/
net/ipv6/mcast.c
@@
-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,