From owner-svn-src-stable@FreeBSD.ORG Tue Nov 16 15:02:53 2010 Return-Path: Delivered-To: svn-src-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F1939106566C; Tue, 16 Nov 2010 15:02:53 +0000 (UTC) (envelope-from sobomax@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id DF9A88FC08; Tue, 16 Nov 2010 15:02:53 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id oAGF2r7r058302; Tue, 16 Nov 2010 15:02:53 GMT (envelope-from sobomax@svn.freebsd.org) Received: (from sobomax@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id oAGF2rfr058300; Tue, 16 Nov 2010 15:02:53 GMT (envelope-from sobomax@svn.freebsd.org) Message-Id: <201011161502.oAGF2rfr058300@svn.freebsd.org> From: Maxim Sobolev Date: Tue, 16 Nov 2010 15:02:53 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org X-SVN-Group: stable-7 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r215400 - stable/7/sys/netipx X-BeenThere: svn-src-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for all the -stable branches of the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Nov 2010 15:02:54 -0000 Author: sobomax Date: Tue Nov 16 15:02:53 2010 New Revision: 215400 URL: http://svn.freebsd.org/changeset/base/215400 Log: Fix build problem introduced in r215368 MFC when IPX is enabled. Submitted by: des Modified: stable/7/sys/netipx/ipx_input.c Modified: stable/7/sys/netipx/ipx_input.c ============================================================================== --- stable/7/sys/netipx/ipx_input.c Tue Nov 16 14:08:21 2010 (r215399) +++ stable/7/sys/netipx/ipx_input.c Tue Nov 16 15:02:53 2010 (r215400) @@ -119,7 +119,6 @@ struct mtx ipxpcb_list_mtx; struct ipxpcbhead ipxpcb_list; struct ipxpcbhead ipxrawpcb_list; -static int ipxqmaxlen = ifqmaxlen; static struct ifqueue ipxintrq; long ipx_pexseq; /* Locked with ipxpcb_list_mtx. */ @@ -151,7 +150,7 @@ ipx_init(void) ipx_hostmask.sipx_addr.x_net = ipx_broadnet; ipx_hostmask.sipx_addr.x_host = ipx_broadhost; - ipxintrq.ifq_maxlen = ipxqmaxlen; + ipxintrq.ifq_maxlen = ifqmaxlen; mtx_init(&ipxintrq.ifq_mtx, "ipx_inq", NULL, MTX_DEF); netisr_register(NETISR_IPX, ipxintr, &ipxintrq, NETISR_MPSAFE); }