diff options
author | 2010-03-15 20:38:25 -0700 | |
---|---|---|
committer | 2010-03-15 20:38:25 -0700 | |
commit | 0821ec55bb1382dd3b9476dc15d5dbbb19f0c3fd (patch) | |
tree | f5698d42aa24da271ec6a9a5eef8d6b89e5b4e2c /drivers/base/module.c | |
parent | ISDN: Add PCI ID for HFC-2S/4S Beronet Card PCIe (diff) | |
download | wireguard-linux-0821ec55bb1382dd3b9476dc15d5dbbb19f0c3fd.tar.xz wireguard-linux-0821ec55bb1382dd3b9476dc15d5dbbb19f0c3fd.zip |
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: Michael Braun <michael-dev@fami-braun.de>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/base/module.c')
0 files changed, 0 insertions, 0 deletions