svn commit: r304086 - stable/11/sys/netinet

Mike Karels karels at FreeBSD.org
Sun Aug 14 16:57:12 UTC 2016


Author: karels
Date: Sun Aug 14 16:57:10 2016
New Revision: 304086
URL: https://svnweb.freebsd.org/changeset/base/304086

Log:
  MFC r303978; Fix kernel build with TCP_RFC7413 option
  
  The current in_pcb.h includes route.h, which includes sockaddr structures.
  Including <sys/socketvar.h> should require <sys/socket.h>; add it in
  the appropriate place.
  
  PR: 211385
  Submitted by: Sergey Kandaurov and iron at mail.ua
  Reviewed by: gnn
  Approved by: gnn (mentor)

Modified:
  stable/11/sys/netinet/tcp_fastopen.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/sys/netinet/tcp_fastopen.c
==============================================================================
--- stable/11/sys/netinet/tcp_fastopen.c	Sun Aug 14 16:51:25 2016	(r304085)
+++ stable/11/sys/netinet/tcp_fastopen.c	Sun Aug 14 16:57:10 2016	(r304086)
@@ -108,6 +108,7 @@ __FBSDID("$FreeBSD$");
 #include <sys/limits.h>
 #include <sys/lock.h>
 #include <sys/rmlock.h>
+#include <sys/socket.h>
 #include <sys/socketvar.h>
 #include <sys/sysctl.h>
 #include <sys/systm.h>


More information about the svn-src-all mailing list