aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2010-12-09 22:18:04 -0500
committerDavid S. Miller <davem@davemloft.net>2010-12-10 16:00:39 -0500
commit4c0833bcd4d302fe783b9f8286a00ca2999d6200 (patch)
tree9f93e17facfe15540e51e3b29b6ca0f21a0d235f /net/ipv6
parenteaa7dcde1d092c792cbca4be81d2e506e84c6122 (diff)
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>
Diffstat (limited to 'net/ipv6')
0 files changed, 0 insertions, 0 deletions