summaryrefslogtreecommitdiffstats
path: root/sys/net
diff options
context:
space:
mode:
authorglebius <glebius@FreeBSD.org>2014-02-13 05:19:09 +0000
committerglebius <glebius@FreeBSD.org>2014-02-13 05:19:09 +0000
commit7942efb4e3e81a352730634a2ed9a56f87e4c32b (patch)
tree775b2ee0ae5bf17980f1891bffba9e816073454f /sys/net
parent8df0b070e8cfb6ef0e7e538830b484cda47e7732 (diff)
downloadFreeBSD-src-7942efb4e3e81a352730634a2ed9a56f87e4c32b.zip
FreeBSD-src-7942efb4e3e81a352730634a2ed9a56f87e4c32b.tar.gz
Remove unused FL_NOAUTO.
Diffstat (limited to 'sys/net')
-rw-r--r--sys/net/flowtable.c2
-rw-r--r--sys/net/flowtable.h1
2 files changed, 1 insertions, 2 deletions
diff --git a/sys/net/flowtable.c b/sys/net/flowtable.c
index b98fc16..f20a535 100644
--- a/sys/net/flowtable.c
+++ b/sys/net/flowtable.c
@@ -899,7 +899,7 @@ flowtable_lookup_common(struct flowtable *ft, struct sockaddr_storage *ssa,
}
critical_exit();
- if (flags & FL_NOAUTO || flow_full(ft))
+ if (flow_full(ft))
return (NULL);
FLOWSTAT_INC(ft, ft_misses);
diff --git a/sys/net/flowtable.h b/sys/net/flowtable.h
index ade7aca..6609ab2 100644
--- a/sys/net/flowtable.h
+++ b/sys/net/flowtable.h
@@ -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)
OpenPOWER on IntegriCloud