Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bridge: Fix return values of br_multicast_add_group/br_multicast_new_…
…group If br_multicast_new_group returns NULL, we would return 0 (no error) to the caller of br_multicast_add_group, which is not what we want. Instead br_multicast_new_group should return ERR_PTR(-ENOMEM) in this case. Also propagate the error number returned by br_mdb_rehash properly. Signed-off-by: Tobias Klauser <tklauser@distanz.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
- Loading branch information