[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230504-b217401c0-873168e318a9@bugzilla.kernel.org>
Date: Thu, 4 May 2023 16:19:29 +0000 (UTC)
From: "Kernel.org Bugbot" <bugbot@...nel.org>
To: bugs@...ts.linux.dev, netdev@...r.kernel.org, john.fastabend@...il.com,
kuba@...nel.org, borisp@...dia.com
Subject: TCP_ULP option is not working for tls
sumit.200744 writes via Kernel.org Bugzilla:
TCP socket was created as below
int sfd = socket(AF_INET,SOCK_STREAM,0).
socket connection was established between server and client using accept and connect calls.
To enable TCP_ULP, setsockopt was used as below
Client:
setsockopt(sfd, IPPROTO_TCP, TCP_ULP, "tls", sizeof("tls"));
Server:
setsockopt(nsfd, IPPROTO_TCP, TCP_ULP, "tls", sizeof("tls"));
but setsockopt is returning -1 with error ENOENT - "No such file or directory". Is anything missing for above usage ?
Which kernel version has TLS option enabled which is mentioned in https://www.kernel.org/doc/html/latest/networking/tls.html#kernel-tls ?
View: https://bugzilla.kernel.org/show_bug.cgi?id=217401#c0
You can reply to this message to join the discussion.
--
Deet-doot-dot, I am a bot.
Kernel.org Bugzilla (peebz 0.1)
Powered by blists - more mailing lists