From owner-svn-src-head@freebsd.org Thu Mar 29 19:48:18 2018 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 87882F71213; Thu, 29 Mar 2018 19:48:18 +0000 (UTC) (envelope-from np@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3B72D80823; Thu, 29 Mar 2018 19:48:18 +0000 (UTC) (envelope-from np@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 363551E778; Thu, 29 Mar 2018 19:48:18 +0000 (UTC) (envelope-from np@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w2TJmHbA087614; Thu, 29 Mar 2018 19:48:17 GMT (envelope-from np@FreeBSD.org) Received: (from np@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w2TJmHQb087613; Thu, 29 Mar 2018 19:48:17 GMT (envelope-from np@FreeBSD.org) Message-Id: <201803291948.w2TJmHQb087613@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: np set sender to np@FreeBSD.org using -f From: Navdeep Parhar Date: Thu, 29 Mar 2018 19:48:17 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r331745 - head/sys/netinet X-SVN-Group: head X-SVN-Commit-Author: np X-SVN-Commit-Paths: head/sys/netinet X-SVN-Commit-Revision: 331745 X-SVN-Commit-Repository: base 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.25 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, 29 Mar 2018 19:48:18 -0000 Author: np Date: Thu Mar 29 19:48:17 2018 New Revision: 331745 URL: https://svnweb.freebsd.org/changeset/base/331745 Log: Fix RSS build (broken in r331309). Sponsored by: Chelsio Communications Modified: head/sys/netinet/in_pcb.c Modified: head/sys/netinet/in_pcb.c ============================================================================== --- head/sys/netinet/in_pcb.c Thu Mar 29 19:44:15 2018 (r331744) +++ head/sys/netinet/in_pcb.c Thu Mar 29 19:48:17 2018 (r331745) @@ -1820,9 +1820,9 @@ in_pcblookup_group(struct inpcbinfo *pcbinfo, struct i found: if (lookupflags & INPLOOKUP_WLOCKPCB) - locked = TRY_INP_WLOCK(inp); + locked = INP_TRY_WLOCK(inp); else if (lookupflags & INPLOOKUP_RLOCKPCB) - locked = TRY_INP_RLOCK(inp); + locked = INP_TRY_RLOCK(inp); else panic("%s: locking bug", __func__); if (!locked)