net: ping: reset stored IP once the command finishes to avoid interrupting other...
authorMarek Szyprowski <m.szyprowski@samsung.com>
Wed, 25 Mar 2020 09:08:16 +0000 (10:08 +0100)
committerJaehoon Chung <jh80.chung@samsung.com>
Tue, 20 Oct 2020 06:13:49 +0000 (15:13 +0900)
commit6a0423b1acb2e63efaea42cbfb545d6a2bf1d109
tree597af74248bdd13d2da9a48a101ed113306e0023
parent14464cfd8138636c579fd74cdd774981f06db8d9
net: ping: reset stored IP once the command finishes to avoid interrupting other protocols

Reset stored ping IP address before leaving the netloop to ensure that the subsequent calls
to the netloop, especially for the other protocols, won't be interrupted by the received
ICMP_ECHO_REPLY packet.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Change-Id: I0d90b3a6e9481c8e8237874eff8a9a12df4190e0
net/ping.c