From owner-svn-src-head@FreeBSD.ORG Fri Jun 27 19:07:01 2014 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8654DA97; Fri, 27 Jun 2014 19:07:01 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 74435212E; Fri, 27 Jun 2014 19:07:01 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s5RJ71RN050777; Fri, 27 Jun 2014 19:07:01 GMT (envelope-from adrian@svn.freebsd.org) Received: (from adrian@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s5RJ714I050775; Fri, 27 Jun 2014 19:07:01 GMT (envelope-from adrian@svn.freebsd.org) Message-Id: <201406271907.s5RJ714I050775@svn.freebsd.org> From: Adrian Chadd Date: Fri, 27 Jun 2014 19:07:01 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r267972 - head/sys/netinet X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.18 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: Fri, 27 Jun 2014 19:07:01 -0000 Author: adrian Date: Fri Jun 27 19:07:00 2014 New Revision: 267972 URL: http://svnweb.freebsd.org/changeset/base/267972 Log: Add missing variable declarations when using RSS. Reported by: bryanv@ Modified: head/sys/netinet/ip_output.c Modified: head/sys/netinet/ip_output.c ============================================================================== --- head/sys/netinet/ip_output.c Fri Jun 27 18:58:22 2014 (r267971) +++ head/sys/netinet/ip_output.c Fri Jun 27 19:07:00 2014 (r267972) @@ -905,6 +905,10 @@ ip_ctloutput(struct socket *so, struct s { struct inpcb *inp = sotoinpcb(so); int error, optval; +#ifdef RSS + uint32_t rss_bucket; + int retval; +#endif error = optval = 0; if (sopt->sopt_level != IPPROTO_IP) {