summaryrefslogtreecommitdiff
path: root/net/ipv4/tcp_bic.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2022-10-27 02:25:59 +0300
committerJakub Kicinski <kuba@kernel.org>2022-10-29 06:21:25 +0300
commit71b7786ea478f3c4611deff4d2b9676b0c17c56b (patch)
tree1b1d048007aaa652eca8ccbae93a528c86c8e3ee /net/ipv4/tcp_bic.c
parente276d62dcfdee6582486e8b8344dd869518e14be (diff)
downloadlinux-71b7786ea478f3c4611deff4d2b9676b0c17c56b.tar.xz
net: also flag accepted sockets supporting msghdr originated zerocopy
Without this only the client initiated tcp sockets have SOCK_SUPPORT_ZC. The listening socket on the server also has it, but the accepted connections didn't, which meant IORING_OP_SEND[MSG]_ZC will always fails with -EOPNOTSUPP. Fixes: e993ffe3da4b ("net: flag sockets supporting msghdr originated zerocopy") Cc: <stable@vger.kernel.org> # 6.0 CC: Jens Axboe <axboe@kernel.dk> Link: https://lore.kernel.org/io-uring/20221024141503.22b4e251@kernel.org/T/#m38aa19b0b825758fb97860a38ad13122051f9dda Signed-off-by: Stefan Metzmacher <metze@samba.org> Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/ipv4/tcp_bic.c')
0 files changed, 0 insertions, 0 deletions