On Mon, Aug 3, 2026, at 6:39 PM, Jakub Kicinski wrote: > On Sun, 26 Jul 2026 20:33:29 -0400 Chuck Lever wrote: >> +/* 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. I don’t have a particular dog in this race, but you and Sabrina need to thumb wrestle to decide which way this needs to go. My original thought was to use a count of zero-length packets. -- Chuck Lever
- Re: [PATCH net 3/9] net/tls: Fail tls_sw_splice_read(... Jakub Kicinski
- [PATCH net 4/9] net/tls: Honor O_NONBLOCK in tls_sw_splice... Chuck Lever
- Re: [PATCH net 4/9] net/tls: Honor O_NONBLOCK in tls_... Sabrina Dubroca
- [PATCH net 1/9] net/tls: Bound time spent on no-data recor... Chuck Lever
- Re: [PATCH net 1/9] net/tls: Bound time spent on no-d... Sabrina Dubroca
- Re: [PATCH net 1/9] net/tls: Bound time spent on ... Chuck Lever
- Re: [PATCH net 1/9] net/tls: Bound time spent... Sabrina Dubroca
- Re: [PATCH net 1/9] net/tls: Bound time s... Chuck Lever
- Re: [PATCH net 1/9] net/tls: Bound time spent on no-d... Jakub Kicinski
- Re: [PATCH net 1/9] net/tls: Bound time spent on ... Chuck Lever
- Re: [PATCH net 1/9] net/tls: Bound time spent... Jakub Kicinski
- [PATCH net 7/9] selftests: tls: skip the zero_len tests wh... Chuck Lever
- [PATCH net 2/9] net/tls: Consume empty data records in tls... Chuck Lever
- Re: [PATCH net 2/9] net/tls: Consume empty data recor... Sabrina Dubroca
- [PATCH net 8/9] selftests: tls: cover splice on a nonblock... Chuck Lever
- [PATCH net 5/9] net/tls: Consume empty data records in tls... Chuck Lever
- Re: [PATCH net 5/9] net/tls: Consume empty data recor... Sabrina Dubroca
- Re: [PATCH net 5/9] net/tls: Consume empty data recor... Jakub Kicinski
