projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
94824f3
)
bridge: Fix IGMP3 report parsing
author
Herbert Xu
<herbert@gondor.apana.org.au>
Thu, 8 Apr 2010 04:20:47 +0000
(21:20 -0700)
committer
David S. Miller
<davem@davemloft.net>
Thu, 8 Apr 2010 04:20:47 +0000
(21:20 -0700)
The IGMP3 report parsing is looking at the wrong address for
group records. This patch fixes it.
Reported-by: Banyeer <banyeer@yahoo.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br_multicast.c
patch
|
blob
|
blame
|
history
diff --git
a/net/bridge/br_multicast.c
b/net/bridge/br_multicast.c
index 6980625537caa15e5f0a479eccca15c3341073a3..f29ada827a6acfe04afd7e3752724013ac58c27f 100644
(file)
--- a/
net/bridge/br_multicast.c
+++ b/
net/bridge/br_multicast.c
@@
-723,7
+723,7
@@
static int br_multicast_igmp3_report(struct net_bridge *br,
if (!pskb_may_pull(skb, len))
return -EINVAL;
- grec = (void *)(skb->data + len);
+ grec = (void *)(skb->data + len
- sizeof(*grec)
);
group = grec->grec_mca;
type = grec->grec_type;