Re: [PATCH bpf v2 0/2] bpf: Fix [::] -> [::1] rewrite in sys_sendmsg

2019-01-04 Thread Alexei Starovoitov
On Fri, Jan 04, 2019 at 01:07:06AM -0800, Andrey Ignatov wrote: > 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 destina

[PATCH bpf v2 0/2] bpf: Fix [::] -> [::1] rewrite in sys_sendmsg

2019-01-04 Thread Andrey Ignatov
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