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)
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to