Don't include two header files when not needed.
This allows the part of the rewrite of TCP reassembly in this files to be MFCed to stable/11 with manual change. MFC after: 3 days Sponsored by: Netflix, Inc.
This commit is contained in:
parent
877fc2e350
commit
f635b1c264
@ -38,6 +38,10 @@ __FBSDID("$FreeBSD$");
|
|||||||
#include "opt_inet6.h"
|
#include "opt_inet6.h"
|
||||||
#include "opt_tcpdebug.h"
|
#include "opt_tcpdebug.h"
|
||||||
|
|
||||||
|
/* For debugging we want counters and BB logging */
|
||||||
|
/* #define TCP_REASS_COUNTERS 1 */
|
||||||
|
/* #define TCP_REASS_LOGGING 1 */
|
||||||
|
|
||||||
#include <sys/param.h>
|
#include <sys/param.h>
|
||||||
#include <sys/kernel.h>
|
#include <sys/kernel.h>
|
||||||
#include <sys/eventhandler.h>
|
#include <sys/eventhandler.h>
|
||||||
@ -72,8 +76,10 @@ __FBSDID("$FreeBSD$");
|
|||||||
#include <netinet/tcp_seq.h>
|
#include <netinet/tcp_seq.h>
|
||||||
#include <netinet/tcp_timer.h>
|
#include <netinet/tcp_timer.h>
|
||||||
#include <netinet/tcp_var.h>
|
#include <netinet/tcp_var.h>
|
||||||
|
#ifdef TCP_REASS_LOGGING
|
||||||
#include <netinet/tcp_log_buf.h>
|
#include <netinet/tcp_log_buf.h>
|
||||||
#include <netinet/tcp_hpts.h>
|
#include <netinet/tcp_hpts.h>
|
||||||
|
#endif
|
||||||
#include <netinet6/tcp6_var.h>
|
#include <netinet6/tcp6_var.h>
|
||||||
#include <netinet/tcpip.h>
|
#include <netinet/tcpip.h>
|
||||||
#ifdef TCPDEBUG
|
#ifdef TCPDEBUG
|
||||||
@ -92,10 +98,6 @@ __FBSDID("$FreeBSD$");
|
|||||||
#define TCP_R_LOG_DUMP 10
|
#define TCP_R_LOG_DUMP 10
|
||||||
#define TCP_R_LOG_TRIM 11
|
#define TCP_R_LOG_TRIM 11
|
||||||
|
|
||||||
/* For debugging we want counters and BB logging */
|
|
||||||
/* #define TCP_REASS_COUNTERS 1 */
|
|
||||||
/* #define TCP_REASS_LOGGING 1 */
|
|
||||||
|
|
||||||
static SYSCTL_NODE(_net_inet_tcp, OID_AUTO, reass, CTLFLAG_RW, 0,
|
static SYSCTL_NODE(_net_inet_tcp, OID_AUTO, reass, CTLFLAG_RW, 0,
|
||||||
"TCP Segment Reassembly Queue");
|
"TCP Segment Reassembly Queue");
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user