[LTP] [PATCH ltp] syscalls/bind03: Add version compare according to behaviour difference.
Cyril Hrubis
chrubis@suse.cz
Fri Aug 31 11:37:00 CEST 2018
Hi!
> > ISSUE:
> > The case is designed to test the behaviour diverse caused by kernel
> > commit 0fb44559ffd6. And it failed for the new behaviour.
> >
> > ACTION:
> > Add a version compare to split part of the test.
>
> This is actually a not-yet fixed kernel bug as the correct errno to be
> reported in this case is EADDRINUSE at least that is what I understand
> after reading POSIX.
Sigh, not enough coffee I would say, the rationale is correctly written
in the patch from Michal.
"in general, we do not want to change return code for given testcase and
old error (-EINVAL) is consistent with AF_INET(6)"
Sorry for the confusion.
> See:
>
> https://patchwork.ozlabs.org/patch/782692/
--
Cyril Hrubis
chrubis@suse.cz
More information about the ltp
mailing list