commit | 7e58a6c6627c8083a21351ef6bbc60ad0eaae1de | [log] [tgz] |
---|---|---|
author | Petr Machata <petrm@mellanox.com> | Tue Feb 27 14:53:35 2018 +0100 |
committer | David S. Miller <davem@davemloft.net> | Tue Feb 27 14:46:25 2018 -0500 |
tree | 91c321183435f389445fcc0e5d564d0939877039 | |
parent | 63d638012e78ed2eb7bf484c30d2cc3263c3b5a1 [diff] |
mlxsw: spectrum_ipip: Extract mlxsw_sp_l3addr_is_zero Extract the logic for determining whether a given IPv4/IPv6 address is all-zeroes from mlxsw_sp_ipip_tunnel_complete to a separate function. Make that function public within the module. Signed-off-by: Petr Machata <petrm@mellanox.com> Reviewed-by: Ido Schimmel <idosch@mellanox.com> Signed-off-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>