Mark Johnston bf25678226 ktls: Fix error/mode confusion in TCP_*TLS_MODE getsockopt handlers
ktls_get_(rx|tx)_mode() can return an errno value or a TLS mode, so
errors are effectively hidden.  Fix this by using a separate output
parameter.  Convert to the new socket buffer locking macros while here.

Note that the socket buffer lock is not needed to synchronize the
SOLISTENING check here, we can rely on the PCB lock.

Reviewed by:	jhb
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D31977
2021-09-17 14:19:05 -04:00
..
2021-06-11 15:40:34 +02:00
2021-08-08 10:16:06 +02:00
2020-11-29 13:41:49 +00:00
2021-09-14 11:43:41 -07:00
2021-07-07 07:22:35 -04:00
2020-11-22 20:21:10 +00:00
2021-02-25 10:13:52 +01:00
2019-12-06 16:35:48 +00:00
2021-07-28 09:35:09 -07:00
2019-10-07 22:40:05 +00:00
2021-08-13 11:06:17 +02:00
2021-05-31 05:48:15 +02:00
2021-08-09 12:01:46 +02:00
2020-09-24 12:26:06 +00:00
2020-09-24 12:26:06 +00:00
2021-01-24 00:07:41 +01:00
2021-07-08 08:16:45 -04:00
2021-07-07 07:22:35 -04:00
2021-02-18 22:36:01 -06:00