cvs commit: src/sys/netinet in_var.h ip_output.c

Gleb Smirnoff glebius at FreeBSD.org
Mon Sep 25 07:31:12 PDT 2006


On Mon, Sep 25, 2006 at 10:11:16AM +0000, Bruce M Simpson wrote:
B> bms         2006-09-25 10:11:16 UTC
B> 
B>   FreeBSD src repository
B> 
B>   Modified files:
B>     sys/netinet          in_var.h ip_output.c 
B>   Log:
B>   Account for output IP datagrams on the ifaddr where they originated from,
B>   *not* the first ifaddr on the ifp.  This is similar to what NetBSD does.
B>   
B>   PR:             kern/72936
B>   Submitted by:   alfred
B>   Reviewed by:    andre

This adds an additional hash lookup per packet, doesn't it? Have you measured
performance impact of this change?

-- 
Totus tuus, Glebius.
GLEBIUS-RIPN GLEB-RIPE


More information about the cvs-src mailing list