diff options
author | Alexei Starovoitov <ast@kernel.org> | 2019-01-04 20:23:33 -0800 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2019-01-04 20:23:34 -0800 |
commit | 466f89e9ec8c6868131c2d2ba9cd5f536879c42a (patch) | |
tree | 34278582594c9b6909bab6005a955521dc3d4ee1 /tools/testing/selftests/bpf/test_socket_cookie.c | |
parent | ipv6: Consider sk_bound_dev_if when binding a socket to a v4 mapped address (diff) | |
parent | selftests/bpf: Test [::] -> [::1] rewrite in sys_sendmsg in test_sock_addr (diff) | |
download | linux-dev-466f89e9ec8c6868131c2d2ba9cd5f536879c42a.tar.xz linux-dev-466f89e9ec8c6868131c2d2ba9cd5f536879c42a.zip |
Merge branch 'udpv6_sendmsg-addr_any-fix'
Andrey Ignatov says:
====================
The patch set fixes BSD'ism in sys_sendmsg to rewrite unspecified
destination IPv6 for unconnected UDP sockets in sys_sendmsg with [::1] in
case when either CONFIG_CGROUP_BPF is enabled or when sys_sendmsg BPF hook
sets destination IPv6 to [::].
Patch 1 is the fix and provides more details.
Patch 2 adds two test cases to verify the fix.
v1->v2:
* Fix compile error in patch 1.
====================
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/testing/selftests/bpf/test_socket_cookie.c')
0 files changed, 0 insertions, 0 deletions