Thread (29 messages) 29 messages, 3 authors, 2026-08-07

Re: [PATCH net 1/9] net/tls: Bound time spent on no-data records in tls_sw_read_sock()

flat view

From: Jakub Kicinski <kuba@kernel.org>
Date: 2026-08-03 22:39:06
Also in: linux-kselftest

On Sun, 26 Jul 2026 20:33:29 -0400 Chuck Lever wrote:
quoted hunk ↗ jump to hunk
+/* Bound the time that consecutive empty ingress data records keep
+ * the socket lock held without releasing it.
+ */
+#define TLS_RX_NODATA_NS NSEC_PER_MSEC
A time bound is a bad idea in the kernel, a softirq can easily 
take >1msec and turn 2 consecutive zero length records into
a fatal error for the connection.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help