Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Feb 2014 05:19:10 +0000 (UTC)
From:      Gleb Smirnoff <glebius@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r261825 - head/sys/net
Message-ID:  <201402130519.s1D5JAmn082743@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402130519.s1D5JAmn082743>