[LTP] [PATCH] syscalls/setsockopt05: associate receiver with destination address
Martin Doucha
mdoucha@suse.cz
Tue Aug 25 11:43:18 CEST 2020
On 24. 08. 20 18:11, Jan Stancek wrote:
> Aren't we getting propagated ICMP error to send() from previous iteration
> of the loop?
>
> Per https://tools.ietf.org/html/rfc1122#page-78
> The application is also responsible to avoid confusion from a delayed ICMP
> error message resulting from an earlier use of the same port(s).
The test is using the loopback address. There should be no delay. We're
running this test daily on 7 different kernel versions and 4 different
archs and I've never seen it fail with ECONNREFUSED, ever.
But you can prove me wrong by adding a few debug prints around both
send() calls.
--
Martin Doucha mdoucha@suse.cz
QA Engineer for Software Maintenance
SUSE LINUX, s.r.o.
CORSO IIa
Krizikova 148/34
186 00 Prague 8
Czech Republic
More information about the ltp
mailing list