Author: mjg
Date: Sat Jul 25 07:15:23 2020
New Revision: 363512
URL: https://svnweb.freebsd.org/changeset/base/363512
Log:
Guard sbcompress_ktls_rx with KERN_TLS
Fixes a compilation warning after r363464
Modified:
head/sys/kern/uipc_sockbuf.c
Modified: head/sys/kern/uipc_sockbuf.c
==============================================================================
--- head/sys/kern/uipc_sockbuf.c Sat Jul 25 07:14:33 2020
(r363511)
+++ head/sys/kern/uipc_sockbuf.c Sat Jul 25 07:15:23 2020
(r363512)
@@ -70,8 +70,10 @@ u_long sb_max_adj =
static u_long sb_efficiency = 8; /* parameter for sbreserve() */
+#ifdef KERN_TLS
static void sbcompress_ktls_rx(struct sockbuf *sb, struct mbuf *m,
struct mbuf *n);
+#endif
static struct mbuf *sbcut_internal(struct sockbuf *sb, int len);
static void sbflush_internal(struct sockbuf *sb);
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"