Guard sbcompress_ktls_rx with KERN_TLS

Fixes a compilation warning after r363464
This commit is contained in:
Mateusz Guzik 2020-07-25 07:15:23 +00:00
parent bf71b96c69
commit d1385ab26e

View File

@ -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);