diff options
author | Petr Machata <petrm@nvidia.com> | 2023-02-02 18:59:21 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-02-06 08:48:25 +0000 |
commit | 1c85b80b20a13d07ec3a7d746ad52b7972c8c730 (patch) | |
tree | 1fa74a9c2cad4f738678d1d9b675fa791474e028 /net/bridge/br_arp_nd_proxy.c | |
parent | 60977a0c63373bfc596b562b1e34e64ede6ef492 (diff) |
net: bridge: Move extack-setting to br_multicast_new_port_group()
Now that br_multicast_new_port_group() takes an extack argument, move
setting the extack there. The downside is that the error messages end
up being less specific (the function cannot distinguish between (S,G)
and (*,G) groups). However, the alternative is to check in the caller
whether the callee set the extack, and if it didn't, set it. But that
is only done when the callee is not exactly known. (E.g. in case of a
notifier invocation.)
Signed-off-by: Petr Machata <petrm@nvidia.com>
Reviewed-by: Ido Schimmel <idosch@nvidia.com>
Acked-by: Nikolay Aleksandrov <razor@blackwall.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/bridge/br_arp_nd_proxy.c')
0 files changed, 0 insertions, 0 deletions