Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Sep 2019 15:41:36 +0000 (UTC)
From:      Randall Stewart <rrs@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r352215 - head/sys/netinet
Message-ID:  <201909111541.x8BFfaRr047552@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rrs
Date: Wed Sep 11 15:41:36 2019
New Revision: 352215
URL: https://svnweb.freebsd.org/changeset/base/352215

Log:
  With the recent commit of ktls, we no longer have a
  sb_tls_flags, its just the sb_flags. Also the ratelimit
  code, now that the defintion is in sockbuf.h, does not
  need the ktls.h file (or its predecessor).
  
  Sponsored by:	Netflix Inc

Modified:
  head/sys/netinet/tcp_ratelimit.c

Modified: head/sys/netinet/tcp_ratelimit.c
==============================================================================
--- head/sys/netinet/tcp_ratelimit.c	Wed Sep 11 15:39:28 2019	(r352214)
+++ head/sys/netinet/tcp_ratelimit.c	Wed Sep 11 15:41:36 2019	(r352215)
@@ -45,9 +45,6 @@ __FBSDID("$FreeBSD$");
 #include <sys/mbuf.h>
 #include <sys/socket.h>
 #include <sys/socketvar.h>
-#ifdef KERN_TLS
-#include <sys/sockbuf_tls.h>
-#endif
 #include <sys/sysctl.h>
 #include <sys/eventhandler.h>
 #include <sys/mutex.h>
@@ -1069,7 +1066,7 @@ tcp_set_pacing_rate(struct tcpcb *tp, struct ifnet *if
 			return (NULL);
 		}
 #ifdef KERN_TLS
-		if (tp->t_inpcb->inp_socket->so_snd.sb_tls_flags & SB_TLS_IFNET) {
+		if (tp->t_inpcb->inp_socket->so_snd.sb_flags & SB_TLS_IFNET) {
 			/*
 			 * We currently can't do both TLS and hardware
 			 * pacing



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201909111541.x8BFfaRr047552>