From owner-svn-src-all@FreeBSD.ORG Sun Jul 20 07:38:38 2014 Return-Path: Delivered-To: svn-src-all@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 AF8D7BF1; Sun, 20 Jul 2014 07:38:38 +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 9D21D2B20; Sun, 20 Jul 2014 07:38:38 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s6K7ccdn083613; Sun, 20 Jul 2014 07:38:38 GMT (envelope-from adrian@svn.freebsd.org) Received: (from adrian@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s6K7ccYN083612; Sun, 20 Jul 2014 07:38:38 GMT (envelope-from adrian@svn.freebsd.org) Message-Id: <201407200738.s6K7ccYN083612@svn.freebsd.org> From: Adrian Chadd Date: Sun, 20 Jul 2014 07:38:38 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r268913 - 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-all@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Jul 2014 07:38:38 -0000 Author: adrian Date: Sun Jul 20 07:38:38 2014 New Revision: 268913 URL: http://svnweb.freebsd.org/changeset/base/268913 Log: Make the PCBGROUPS code aware of IPv4 UDP 4-tuple. Modified: head/sys/netinet/in_pcbgroup.c Modified: head/sys/netinet/in_pcbgroup.c ============================================================================== --- head/sys/netinet/in_pcbgroup.c Sun Jul 20 07:37:47 2014 (r268912) +++ head/sys/netinet/in_pcbgroup.c Sun Jul 20 07:38:38 2014 (r268913) @@ -243,6 +243,8 @@ in_pcbgroup_byhash(struct inpcbinfo *pcb #ifdef RSS if ((pcbinfo->ipi_hashfields == IPI_HASHFIELDS_4TUPLE && hashtype == M_HASHTYPE_RSS_TCP_IPV4) || + (pcbinfo->ipi_hashfields == IPI_HASHFIELDS_4TUPLE && + hashtype == M_HASHTYPE_RSS_UDP_IPV4) || (pcbinfo->ipi_hashfields == IPI_HASHFIELDS_2TUPLE && hashtype == M_HASHTYPE_RSS_IPV4)) return (&pcbinfo->ipi_pcbgroups[