Date: Fri, 8 Jun 2007 12:43:26 +0000 (UTC) From: Andrew Gallatin <gallatin@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/net pfil.h Message-ID: <200706081243.l58ChQnr045086@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
gallatin 2007-06-08 12:43:26 UTC FreeBSD src repository Modified files: sys/net pfil.h Log: Correct the definition of PFIL_HOOKED() so that it compares the value of ph_nhooks to zero, not the address. This removes extranious calls to pfil_run_hooks (and an rw lock) from the network stack's critical path when no pfil hooks are active. Reviewed by: csjp Sponsored by: Myricom Inc. Revision Changes Path 1.16 +1 -1 src/sys/net/pfil.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200706081243.l58ChQnr045086>