From owner-svn-src-head@FreeBSD.ORG Thu Jul 11 20:36:25 2013 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 976671A5; Thu, 11 Jul 2013 20:36:25 +0000 (UTC) (envelope-from to.my.trociny@gmail.com) Received: from mail-ee0-x232.google.com (mail-ee0-x232.google.com [IPv6:2a00:1450:4013:c00::232]) by mx1.freebsd.org (Postfix) with ESMTP id AB0571380; Thu, 11 Jul 2013 20:36:24 +0000 (UTC) Received: by mail-ee0-f50.google.com with SMTP id d49so5699719eek.23 for ; Thu, 11 Jul 2013 13:36:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=vXdiPiBRWFzcmTCNPjXfW5uWpmjN5WukkXxzWOvCFrY=; b=kQIlHdt0zIbY1/TinQDMFkCGLHx79JE5mbgSSW56dnDMn1CfgbmErLV7lmXz8H4Bio LXkhKnCaazvVRer6hnDggwgLXPoUQ4OK1wtNXOgsuILybby08u2/Sj6ThLh0PoXNrflr +HvRyDF8EPUndhConEnlADLq3oLuTQP1mONsjv1TGCWS9OyB6HoB3jH8dG4wW2E0w9OH T06LZWlyB/Rk0VgSG7c/YWAx7kFTzx7XBTDK6RAr9wtecE5gGpyDpfFgdVOh6Z4JJdIg uMjK+CYMWNnW9tE4Bxd1DjLy1a4D3IDIgDVr777a7mBhMnyQujcWbCDR5nRymYUxfi/P gpMQ== X-Received: by 10.15.42.72 with SMTP id t48mr43466247eev.105.1373574983257; Thu, 11 Jul 2013 13:36:23 -0700 (PDT) Received: from localhost ([178.150.115.244]) by mx.google.com with ESMTPSA id n45sm72155822eew.1.2013.07.11.13.36.21 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Thu, 11 Jul 2013 13:36:22 -0700 (PDT) Sender: Mikolaj Golub Date: Thu, 11 Jul 2013 23:36:19 +0300 From: Mikolaj Golub To: Andre Oppermann Subject: Re: svn commit: r253210 - in head/sys: conf netinet Message-ID: <20130711203617.GA7506@gmail.com> References: <201307111529.r6BFTPSf016809@svn.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201307111529.r6BFTPSf016809@svn.freebsd.org> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Jul 2013 20:36:25 -0000 Hi, Andre On Thu, Jul 11, 2013 at 03:29:25PM +0000, Andre Oppermann wrote: > Author: andre > Date: Thu Jul 11 15:29:25 2013 > New Revision: 253210 > URL: http://svnweb.freebsd.org/changeset/base/253210 > > Log: > Improve SYN cookies by encoding the MSS, WSCALE (window scaling) and SACK > information into the ISN (initial sequence number) without the additional > use of timestamp bits and switching to the very fast and cryptographically > strong SipHash-2-4 MAC hash algorithm to protect the SYN cookie against > forgeries. It fails to build with VIMAGE: cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -nostdinc -I. -I/home/golub/freebsd/base/head/sys -I/home/golub/freebsd/base/head/sys/contrib/altq -I/home/golub/freebsd/base/head/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mno-aes -mno-avx -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector -Werror /home/golub/freebsd/base/head/sys/netinet/tcp_syncache.c /home/golub/freebsd/base/head/sys/netinet/tcp_syncache.c:266:17: error: no member named 'vnet' in 'struct tcp_syncache' V_tcp_syncache.vnet = curvnet; ~~~~~~~~~~~~~~ ^ /home/golub/freebsd/base/head/sys/netinet/tcp_syncache.c:438:27: error: no member named 'vnet' in 'struct tcp_syncache' CURVNET_SET(sch->sch_sc->vnet); ~~~~~~~~~~~ ^ > Modified: head/sys/netinet/tcp_syncache.h > ============================================================================== ... > struct tcp_syncache { > @@ -115,6 +118,19 @@ struct tcp_syncache { > u_int cache_limit; > u_int rexmt_limit; > u_int hash_secret; > + struct vnet *sch_vnet; I think you meant here: + struct vnet *vnet; -- Mikolaj Golub