<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/tools/testing/selftests/bpf/tcp_server.py, branch linux-5.10.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.10.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.10.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2020-07-28T22:10:35Z</updated>
<entry>
<title>bpf, selftests: use :: 1 for localhost in tcp_server.py</title>
<updated>2020-07-28T22:10:35Z</updated>
<author>
<name>John Fastabend</name>
</author>
<published>2020-07-28T14:39:02Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ca5cd355b7f0372da0d50fce5b12a3367e417290'/>
<id>urn:sha1:ca5cd355b7f0372da0d50fce5b12a3367e417290</id>
<content type='text'>
Using localhost requires the host to have a /etc/hosts file with that
specific line in it. By default my dev box did not, they used
ip6-localhost, so the test was failing. To fix remove the need for any
/etc/hosts and use ::1.

I could just add the line, but this seems easier.

Signed-off-by: John Fastabend &lt;john.fastabend@gmail.com&gt;
Signed-off-by: Daniel Borkmann &lt;daniel@iogearbox.net&gt;
Acked-by: Song Liu &lt;songliubraving@fb.com&gt;
Acked-by: Andrii Nakryiko &lt;andriin@fb.com&gt;
Link: https://lore.kernel.org/bpf/159594714197.21431.10113693935099326445.stgit@john-Precision-5820-Tower
</content>
</entry>
<entry>
<title>selftests/bpf: use localhost in tcp_{server,client}.py</title>
<updated>2019-02-04T20:29:27Z</updated>
<author>
<name>Stanislav Fomichev</name>
</author>
<published>2019-02-04T18:43:19Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7e8a5903774bc5ce76efc1ed2782fa906e58f8a8'/>
<id>urn:sha1:7e8a5903774bc5ce76efc1ed2782fa906e58f8a8</id>
<content type='text'>
Bind and connect to localhost. There is no reason for this test to
use non-localhost interface. This lets us run this test in a network
namespace.

Signed-off-by: Stanislav Fomichev &lt;sdf@google.com&gt;
Signed-off-by: Daniel Borkmann &lt;daniel@iogearbox.net&gt;
</content>
</entry>
<entry>
<title>bpf: Add Python 3 support to selftests scripts for bpf</title>
<updated>2018-07-25T05:46:48Z</updated>
<author>
<name>Jeremy Cline</name>
</author>
<published>2018-07-24T19:53:34Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e66565f3bee141748d2c3b2ed0d4ecd455f634fa'/>
<id>urn:sha1:e66565f3bee141748d2c3b2ed0d4ecd455f634fa</id>
<content type='text'>
Adjust tcp_client.py and tcp_server.py to work with Python 3 by using
the print function, marking string literals as bytes, and using the
newer exception syntax. This should be functionally equivalent and
supports Python 3+.

Signed-off-by: Jeremy Cline &lt;jcline@redhat.com&gt;
Signed-off-by: Daniel Borkmann &lt;daniel@iogearbox.net&gt;
</content>
</entry>
<entry>
<title>bpf: add selftest for tcpbpf</title>
<updated>2018-01-26T00:41:15Z</updated>
<author>
<name>Lawrence Brakmo</name>
</author>
<published>2018-01-26T00:14:16Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d6d4f60c3a0933852dcc40a2142d93027ea1da76'/>
<id>urn:sha1:d6d4f60c3a0933852dcc40a2142d93027ea1da76</id>
<content type='text'>
Added a selftest for tcpbpf (sock_ops) that checks that the appropriate
callbacks occured and that it can access tcp_sock fields and that their
values are correct.

Run with command: ./test_tcpbpf_user
Adding the flag "-d" will show why it did not pass.

Signed-off-by: Lawrence Brakmo &lt;brakmo@fb.com&gt;
Acked-by: Alexei Starovoitov &lt;ast@kernel.org&gt;
Signed-off-by: Alexei Starovoitov &lt;ast@kernel.org&gt;
</content>
</entry>
</feed>
