commit | 0316a211168dd94c4d3b81c91e76fac4f2714544 | [log] [tgz] |
---|---|---|
author | Miaohe Lin <linmiaohe@huawei.com> | Tue Aug 25 07:33:22 2020 -0400 |
committer | David S. Miller <davem@davemloft.net> | Tue Aug 25 06:18:13 2020 -0700 |
tree | 3d24c4d0e7b66153b872703202d4f12192537537 | |
parent | cca852831c0672e1b2da590c23764b5ad149cbb7 [diff] |
net: Set ping saddr after we successfully get the ping port We can defer set ping saddr until we successfully get the ping port. So we can avoid clear saddr when failed. Since ping_clear_saddr() is not used anymore now, remove it. Signed-off-by: Miaohe Lin <linmiaohe@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>