Re: [PATCH] net: Set ping saddr after we successfully get the ping port

From: David Miller
Date: Tue Aug 25 2020 - 09:18:48 EST


From: Miaohe Lin <linmiaohe@xxxxxxxxxx>
Date: Tue, 25 Aug 2020 07:33:22 -0400

> 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@xxxxxxxxxx>

Applied to net-next, thanks.