Skip to content
Commit 466f89e9 authored by Alexei Starovoitov's avatar Alexei Starovoitov
Browse files

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: default avatarAlexei Starovoitov <ast@kernel.org>
parents ec90ad33 976b4f3a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment