Skip to content
Snippets Groups Projects
user avatar
Herbert Xu authored
Since all callers of br_mdb_ip_get need to check whether the
hash table is NULL, this patch moves the check into the function.

This fixes the two callers (query/leave handler) that didn't
check it.

Reported-by: default avatarMichael Braun <michael-dev@fami-braun.de>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
0821ec55
History
Name Last commit Last update