Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Aug 2016 16:57:10 +0000 (UTC)
From:      Mike Karels <karels@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r304086 - stable/11/sys/netinet
Message-ID:  <201608141657.u7EGvANS098968@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



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