From owner-svn-src-head@FreeBSD.ORG Sun May 18 22:34:06 2014 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id CF479218; Sun, 18 May 2014 22:34:06 +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 BA4C72221; Sun, 18 May 2014 22:34:06 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s4IMY6tW057734; Sun, 18 May 2014 22:34:06 GMT (envelope-from adrian@svn.freebsd.org) Received: (from adrian@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s4IMY6If057732; Sun, 18 May 2014 22:34:06 GMT (envelope-from adrian@svn.freebsd.org) Message-Id: <201405182234.s4IMY6If057732@svn.freebsd.org> From: Adrian Chadd Date: Sun, 18 May 2014 22:34:06 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r266420 - 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: Sun, 18 May 2014 22:34:06 -0000 Author: adrian Date: Sun May 18 22:34:06 2014 New Revision: 266420 URL: http://svnweb.freebsd.org/changeset/base/266420 Log: Ensure that the flowid hashtype is assigned to the inp if the flowid is also assigned. Modified: head/sys/netinet/tcp_input.c head/sys/netinet/tcp_syncache.c Modified: head/sys/netinet/tcp_input.c ============================================================================== --- head/sys/netinet/tcp_input.c Sun May 18 22:32:04 2014 (r266419) +++ head/sys/netinet/tcp_input.c Sun May 18 22:34:06 2014 (r266420) @@ -905,6 +905,7 @@ findpcb: inp->inp_flags |= INP_HW_FLOWID; inp->inp_flags &= ~INP_SW_FLOWID; inp->inp_flowid = m->m_pkthdr.flowid; + inp->inp_flowtype = M_HASHTYPE_GET(m); } #ifdef IPSEC #ifdef INET6 Modified: head/sys/netinet/tcp_syncache.c ============================================================================== --- head/sys/netinet/tcp_syncache.c Sun May 18 22:32:04 2014 (r266419) +++ head/sys/netinet/tcp_syncache.c Sun May 18 22:34:06 2014 (r266420) @@ -718,6 +718,7 @@ syncache_socket(struct syncache *sc, str inp->inp_flags |= INP_HW_FLOWID; inp->inp_flags &= ~INP_SW_FLOWID; inp->inp_flowid = m->m_pkthdr.flowid; + inp->inp_flowtype = M_HASHTYPE_GET(m); } /*