diff options
author | glebius <glebius@FreeBSD.org> | 2014-02-13 05:19:09 +0000 |
---|---|---|
committer | glebius <glebius@FreeBSD.org> | 2014-02-13 05:19:09 +0000 |
commit | 7942efb4e3e81a352730634a2ed9a56f87e4c32b (patch) | |
tree | 775b2ee0ae5bf17980f1891bffba9e816073454f /sys/net | |
parent | 8df0b070e8cfb6ef0e7e538830b484cda47e7732 (diff) | |
download | FreeBSD-src-7942efb4e3e81a352730634a2ed9a56f87e4c32b.zip FreeBSD-src-7942efb4e3e81a352730634a2ed9a56f87e4c32b.tar.gz |
Remove unused FL_NOAUTO.
Diffstat (limited to 'sys/net')
-rw-r--r-- | sys/net/flowtable.c | 2 | ||||
-rw-r--r-- | sys/net/flowtable.h | 1 |
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) |