diff options
author | kmacy <kmacy@FreeBSD.org> | 2009-08-18 20:28:58 +0000 |
---|---|---|
committer | kmacy <kmacy@FreeBSD.org> | 2009-08-18 20:28:58 +0000 |
commit | bbd03fa206b39c464a0bdee0cbee82fb7659a405 (patch) | |
tree | 4bba016fc345bb4589b4f846bcbeba1d9b670a91 /sys/net/flowtable.h | |
parent | 55fac3f9e0bfbff28af262ca9c4e0a4db8e160de (diff) | |
download | FreeBSD-src-bbd03fa206b39c464a0bdee0cbee82fb7659a405.zip FreeBSD-src-bbd03fa206b39c464a0bdee0cbee82fb7659a405.tar.gz |
- 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@
Diffstat (limited to 'sys/net/flowtable.h')
-rw-r--r-- | sys/net/flowtable.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/net/flowtable.h b/sys/net/flowtable.h index 6334d8b..afc8fb7 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 |