aboutsummaryrefslogtreecommitdiff
path: root/sys/net/flowtable.h
diff options
context:
space:
mode:
authorKip Macy <kmacy@FreeBSD.org>2009-08-18 20:28:58 +0000
committerKip Macy <kmacy@FreeBSD.org>2009-08-18 20:28:58 +0000
commit3ee42584f9bfcec0c0364a11bf3e916b219763e5 (patch)
tree4bba016fc345bb4589b4f846bcbeba1d9b670a91 /sys/net/flowtable.h
parent44d90753923ae031d3d2ea25d3c91500ca41a3f2 (diff)
- change the interface to flowtable_lookup so that we don't rely on
the mbuf for obtaining the fib index - check that a cached flow corresponds to the same fib index as the packet for which we are doing the lookup - at interface detach time flush any flows referencing stale rtentrys associated with the interface that is going away (fixes reported panics) - reduce the time between cleans in case the cleaner is running at the time the eventhandler is called and the wakeup is missed less time will elapse before the eventhandler returns - separate per-vnet initialization from global initialization (pointed out by jeli@) Reviewed by: sam@ Approved by: re@
Notes
Notes: svn path=/head/; revision=196368
Diffstat (limited to 'sys/net/flowtable.h')
-rw-r--r--sys/net/flowtable.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/net/flowtable.h b/sys/net/flowtable.h
index 6334d8b42b07..afc8fb77a03c 100644
--- a/sys/net/flowtable.h
+++ b/sys/net/flowtable.h
@@ -49,7 +49,7 @@ struct flowtable *flowtable_alloc(int nentry, int flags);
*
*/
int flowtable_lookup(struct flowtable *ft, struct mbuf *m,
- struct route *ro);
+ struct route *ro, uint32_t fibnum);
#endif /* _KERNEL */
#endif