svn commit: r352215 - head/sys/netinet

Randall Stewart rrs at FreeBSD.org
Wed Sep 11 15:41:37 UTC 2019


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


More information about the svn-src-head mailing list