Skip to content
Commit 0821ec55 authored by Herbert Xu's avatar Herbert Xu Committed by David S. Miller
Browse files

bridge: Move NULL mdb check into br_mdb_ip_get



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>
parent d00561a2
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment