Date: Tue, 18 Aug 2009 20:28:58 +0000 (UTC) From: Kip Macy <kmacy@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/net flowtable.c flowtable.h src/sys/netinet ip_output.c Message-ID: <200908182029.n7IKTb2W008543@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
kmacy 2009-08-18 20:28:58 UTC
FreeBSD src repository
Modified files:
sys/net flowtable.c flowtable.h
sys/netinet ip_output.c
Log:
SVN rev 196368 on 2009-08-18 20:28:58Z by kmacy
- 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@
Revision Changes Path
1.17 +194 -41 src/sys/net/flowtable.c
1.11 +1 -1 src/sys/net/flowtable.h
1.316 +1 -1 src/sys/netinet/ip_output.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200908182029.n7IKTb2W008543>
