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, 17 Oct 2023 04:19:20 +0000 (13:19 +0900)
commite7939233a32a793f1a0be1ba0b4116e4e2d4f1b9
treee484114b977d8cd10136ef81e83975c3136c7222
parent40849b544ea11e848511cdaba40fb2f3409eb629
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