diff options
author | Pavel Begunkov <asml.silence@gmail.com> | 2022-10-27 02:25:56 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-10-29 06:21:25 +0300 |
commit | 8f279fb00bb29def9ac79e28c5d6d8e07d21f3fb (patch) | |
tree | 63f19a3d4fd79f245ba4ace6405a2f9b0bda3b34 /net/ipv4/udp_bpf.c | |
parent | 1208b93dd901bafe2526fa9db005bbc30e7ae83a (diff) | |
download | linux-8f279fb00bb29def9ac79e28c5d6d8e07d21f3fb.tar.xz |
udp: advertise ipv6 udp support for msghdr::ubuf_info
Mark udp ipv6 as supporting msghdr::ubuf_info. In the original commit
SOCK_SUPPORT_ZC was supposed to be set by a udp_init_sock() call from
udp6_init_sock(), but
d38afeec26ed4 ("tcp/udp: Call inet6_destroy_sock() in IPv6 ...")
removed it and so ipv6 udp misses the flag.
Cc: <stable@vger.kernel.org> # 6.0
Fixes: e993ffe3da4bc ("net: flag sockets supporting msghdr originated zerocopy")
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/ipv4/udp_bpf.c')
0 files changed, 0 insertions, 0 deletions