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>
Wed, 12 Oct 2022 05:45:59 +0000 (14:45 +0900)
commit33b8fe8322bf2de9ff0bc1c69a3acd88b4cc2a09
treeeece9d56f3ff82b3bea358fc6b29cc66837fc7d9
parent62eab2912720638f663593132850c9a47462e3a6
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