diff options
-rw-r--r-- | net/bridge/br_multicast.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/bridge/br_multicast.c b/net/bridge/br_multicast.c index cd3cf394c477..876e5fb2a786 100644 --- a/net/bridge/br_multicast.c +++ b/net/bridge/br_multicast.c | |||
@@ -1373,6 +1373,8 @@ static int br_ip6_multicast_query(struct net_bridge *br, | |||
1373 | br_multicast_query_received(br, port, &br->ip6_other_query, | 1373 | br_multicast_query_received(br, port, &br->ip6_other_query, |
1374 | &saddr, max_delay); | 1374 | &saddr, max_delay); |
1375 | goto out; | 1375 | goto out; |
1376 | } else if (!group) { | ||
1377 | goto out; | ||
1376 | } | 1378 | } |
1377 | 1379 | ||
1378 | mp = br_mdb_ip6_get(mlock_dereference(br->mdb, br), group, vid); | 1380 | mp = br_mdb_ip6_get(mlock_dereference(br->mdb, br), group, vid); |