|
@@ -1424,7 +1424,7 @@ static int br_multicast_ipv4_rcv(struct net_bridge *br,
|
|
switch (ih->type) {
|
|
switch (ih->type) {
|
|
case IGMP_HOST_MEMBERSHIP_REPORT:
|
|
case IGMP_HOST_MEMBERSHIP_REPORT:
|
|
case IGMPV2_HOST_MEMBERSHIP_REPORT:
|
|
case IGMPV2_HOST_MEMBERSHIP_REPORT:
|
|
- BR_INPUT_SKB_CB(skb2)->mrouters_only = 1;
|
|
|
|
|
|
+ BR_INPUT_SKB_CB(skb)->mrouters_only = 1;
|
|
err = br_ip4_multicast_add_group(br, port, ih->group);
|
|
err = br_ip4_multicast_add_group(br, port, ih->group);
|
|
break;
|
|
break;
|
|
case IGMPV3_HOST_MEMBERSHIP_REPORT:
|
|
case IGMPV3_HOST_MEMBERSHIP_REPORT:
|