cvs commit: src/sys/netgraph/netflow netflow.c
Gleb Smirnoff
glebius at FreeBSD.org
Thu Feb 7 03:10:18 PST 2008
glebius 2008-02-07 11:10:18 UTC
FreeBSD src repository
Modified files:
sys/netgraph/netflow netflow.c
Log:
Use rtalloc1() instead of rtalloc_ign(). It returns a locked
rtentry. We quickly copy the fields of interest, and then
RTFREE_LOCKED(). This should be faster then lock & unlock the
rtentry twice.
Revision Changes Path
1.28 +17 -24 src/sys/netgraph/netflow/netflow.c
More information about the cvs-src
mailing list