Date: Mon, 27 Apr 2009 17:37:36 +0000 (UTC) From: Oleg Bulyzhin <oleg@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/netinet ip_fw2.c ip_fw_pfil.c Message-ID: <200904271737.n3RHbhJQ017786@repoman.freebsd.org>
index | next in thread | raw e-mail
oleg 2009-04-27 17:37:36 UTC
FreeBSD src repository
Modified files:
sys/netinet ip_fw2.c ip_fw_pfil.c
Log:
SVN rev 191570 on 2009-04-27 17:37:36Z by oleg
Optimize packet flow: if net.inet.ip.fw.one_pass != 0 and packet was
processed by ipfw once - avoid second ipfw_chk() call.
This saves us from unnecessary IPFW_RLOCK(), m_tag_find() calls and
ip/tcp/udp header parsing.
MFC after: 2 month
Revision Changes Path
1.220 +0 -9 src/sys/netinet/ip_fw2.c
1.35 +13 -5 src/sys/netinet/ip_fw_pfil.c
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200904271737.n3RHbhJQ017786>
