[LTP] [PATCH v2] pty04: Retry reads when short
Petr Vorel
pvorel@suse.cz
Wed May 13 11:31:36 CEST 2020
Hi Richard,
> Even though reads are blocking and packets are flipped into the netdevice
> buffer whole, it seems read may return before a full packet is read into user
> land. Retrying read should prevent timeouts and read failures on some
> machines.
I'm still able to block the test after some loops:
pty04.c:328: PASS: Read netdev 1
(using 5.7.0-rc4 from openSUSE Tumbleweed).
Kind regards,
Petr
More information about the ltp
mailing list