meijian a7cffe03b5 [ping] fix ping early return when ping is interrupted by ifdown
During a long ping, the tester will repeatedly switch the dev interface on and off.
When the interface is down and ping is in sendto sem_wait state,ifdown will trigger event of sendto and post sem.
in func of sendto_eventhandler:
if ((flags & NETDEV_DOWN) != 0)
{
  nerr("ERROR: Interface is down\n");
  pstate->snd_result = -ENETUNREACH;
  goto end_wait;
}

Signed-off-by: meijian <meijian@xiaomi.com>
2024-04-22 23:03:39 +02:00
..
2023-07-08 13:52:02 +08:00
2023-09-01 01:21:54 +08:00
2023-09-08 02:11:23 +08:00
2023-07-08 13:52:02 +08:00
2023-07-13 15:52:36 +08:00
2024-01-06 04:32:41 -08:00
2023-07-08 13:52:02 +08:00
2023-09-01 23:21:34 +08:00
2024-04-18 09:56:48 +08:00
2023-12-07 18:26:39 -08:00
2024-04-18 09:56:48 +08:00
2023-07-08 13:52:02 +08:00
2023-07-08 13:52:02 +08:00
2023-09-11 16:37:05 +08:00
2023-07-08 13:52:02 +08:00
2023-08-01 23:10:32 -07:00
2023-07-08 13:52:02 +08:00
2023-07-08 13:52:02 +08:00