commit | 89d5dd2efdb26c78ab83be59390386cc21f8dd71 | [log] [tgz] |
---|---|---|
author | David Ahern <dsahern@gmail.com> | Wed Oct 18 09:56:55 2017 -0700 |
committer | David S. Miller <davem@davemloft.net> | Fri Oct 20 13:15:07 2017 +0100 |
tree | 1c00b2de3e994faf9ce3f9b365bb94e08030537f | |
parent | de95e04791a03de5cb681980a3880db6919e3b4a [diff] |
mlxsw: spectrum: router: Add support for address validator notifier Add support for inetaddr_validator and inet6addr_validator. The notifiers provide a means for validating ipv4 and ipv6 addresses before the addresses are installed and on failure the error is propagated back to the user. Signed-off-by: David Ahern <dsahern@gmail.com> Reviewed-by: Ido Schimmel <idosch@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>