svn commit: r304088 - releng/11.0/sys/netinet

Mike Karels karels at FreeBSD.org
Sun Aug 14 18:30:32 UTC 2016


Author: karels
Date: Sun Aug 14 18:30:30 2016
New Revision: 304088
URL: https://svnweb.freebsd.org/changeset/base/304088

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)
  Approved by: re (gjb)

Modified:
  releng/11.0/sys/netinet/tcp_fastopen.c
Directory Properties:
  releng/11.0/   (props changed)

Modified: releng/11.0/sys/netinet/tcp_fastopen.c
==============================================================================
--- releng/11.0/sys/netinet/tcp_fastopen.c	Sun Aug 14 18:05:41 2016	(r304087)
+++ releng/11.0/sys/netinet/tcp_fastopen.c	Sun Aug 14 18:30:30 2016	(r304088)
@@ -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