Andrew Gallatin 0bb6a7159d 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.
2007-06-08 12:43:25 +00:00
..
2007-02-28 22:05:30 +00:00
2007-03-19 18:01:39 +00:00
2007-05-22 16:17:31 +00:00
2007-03-27 19:36:12 +00:00