Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 May 2020 10:46:02 +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: r360776 - head/sys/netinet/tcp_stacks
Message-ID:  <202005071046.047Ak2XO003551@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rrs
Date: Thu May  7 10:46:02 2020
New Revision: 360776
URL: https://svnweb.freebsd.org/changeset/base/360776

Log:
  NF has an internal option that changes the tcp_mcopy_m routine slightly (has
  a few extra arguments). Recently that changed to only have one arg extra so
  that two ifdefs around the call are no longer needed. Lets take out the
  extra ifdef and arg.
  
  Sponsored by: Netflix Inc
  Differential Revision: https://reviews.freebsd.org/D24736

Modified:
  head/sys/netinet/tcp_stacks/bbr.c
  head/sys/netinet/tcp_stacks/rack.c

Modified: head/sys/netinet/tcp_stacks/bbr.c
==============================================================================
--- head/sys/netinet/tcp_stacks/bbr.c	Thu May  7 08:58:08 2020	(r360775)
+++ head/sys/netinet/tcp_stacks/bbr.c	Thu May  7 10:46:02 2020	(r360776)
@@ -13420,9 +13420,6 @@ send:
 #endif
 			orig_len = len;
 			m->m_next = tcp_m_copym(
-#ifdef NETFLIX_COPY_ARGS
-				tp,
-#endif
 				mb, moff, &len,
 				if_hw_tsomaxsegcount,
 				if_hw_tsomaxsegsize, msb,

Modified: head/sys/netinet/tcp_stacks/rack.c
==============================================================================
--- head/sys/netinet/tcp_stacks/rack.c	Thu May  7 08:58:08 2020	(r360775)
+++ head/sys/netinet/tcp_stacks/rack.c	Thu May  7 10:46:02 2020	(r360776)
@@ -13353,9 +13353,6 @@ send:
 			else
 				msb = sb;
 			m->m_next = tcp_m_copym(
-#ifdef NETFLIX_COPY_ARGS
-				tp,
-#endif
 				mb, moff, &len,
 				if_hw_tsomaxsegcount, if_hw_tsomaxsegsize, msb,
 				((rsm == NULL) ? hw_tls : 0)



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