From owner-svn-src-all@FreeBSD.ORG Thu Feb 13 05:19:10 2014 Return-Path: Delivered-To: svn-src-all@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 C7541E4; Thu, 13 Feb 2014 05:19:10 +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)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id A841218AF; Thu, 13 Feb 2014 05:19:10 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s1D5JAqE082745; Thu, 13 Feb 2014 05:19:10 GMT (envelope-from glebius@svn.freebsd.org) Received: (from glebius@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s1D5JAmn082743; Thu, 13 Feb 2014 05:19:10 GMT (envelope-from glebius@svn.freebsd.org) Message-Id: <201402130519.s1D5JAmn082743@svn.freebsd.org> From: Gleb Smirnoff Date: Thu, 13 Feb 2014 05:19:10 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r261825 - head/sys/net 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.17 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: Thu, 13 Feb 2014 05:19:10 -0000 Author: glebius Date: Thu Feb 13 05:19:09 2014 New Revision: 261825 URL: http://svnweb.freebsd.org/changeset/base/261825 Log: Remove unused FL_NOAUTO. Modified: head/sys/net/flowtable.c head/sys/net/flowtable.h Modified: head/sys/net/flowtable.c ============================================================================== --- head/sys/net/flowtable.c Thu Feb 13 05:13:22 2014 (r261824) +++ head/sys/net/flowtable.c Thu Feb 13 05:19:09 2014 (r261825) @@ -899,7 +899,7 @@ flowtable_lookup_common(struct flowtable } critical_exit(); - if (flags & FL_NOAUTO || flow_full(ft)) + if (flow_full(ft)) return (NULL); FLOWSTAT_INC(ft, ft_misses); Modified: head/sys/net/flowtable.h ============================================================================== --- head/sys/net/flowtable.h Thu Feb 13 05:13:22 2014 (r261824) +++ head/sys/net/flowtable.h Thu Feb 13 05:19:09 2014 (r261825) @@ -44,7 +44,6 @@ struct flowtable_stat { #ifdef _KERNEL #define FL_HASH_ALL (1<<0) /* hash 4-tuple + protocol */ -#define FL_NOAUTO (1<<2) /* don't automatically add flentry on miss */ #define FL_IPV6 (1<<9) #define FL_TCP (1<<11)