]> git.baikalelectronics.ru Git - kernel.git/commit
selftests: net: tls: remove recv_rcvbuf test
authorThadeu Lima de Souza Cascardo <cascardo@canonical.com>
Fri, 13 Dec 2019 10:39:02 +0000 (07:39 -0300)
committerJakub Kicinski <jakub.kicinski@netronome.com>
Sun, 15 Dec 2019 03:53:53 +0000 (19:53 -0800)
commit52d4ad0c1d5816ef8d27d0e4d9a3e26d6dc219df
treeb49e8f215fc4f0eb9be168cd2e0ce9703dc60d8e
parentbbae4120d69802007e9be448c7b5a771059690a5
selftests: net: tls: remove recv_rcvbuf test

This test only works when [1] is applied, which was rejected.

Basically, the errors are reported and cleared. In this particular case of
tls sockets, following reads will block.

The test case was originally submitted with the rejected patch, but, then,
was included as part of a different patchset, possibly by mistake.

[1] https://lore.kernel.org/netdev/20191007035323.4360-2-jakub.kicinski@netronome.com/#t

Thanks Paolo Pisati for pointing out the original patchset where this
appeared.

Fixes: ac9cbb535682 (selftests/tls: add a test for fragmented messages)
Reported-by: Paolo Pisati <paolo.pisati@canonical.com>
Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@canonical.com>
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
tools/testing/selftests/net/tls.c