diff options
author | csjp <csjp@FreeBSD.org> | 2006-06-14 02:23:28 +0000 |
---|---|---|
committer | csjp <csjp@FreeBSD.org> | 2006-06-14 02:23:28 +0000 |
commit | c1cbf173b2b8ce75b3e4d0751756022bdf03714a (patch) | |
tree | 0e937f42c91cb08b5e5df6051c34c3f31da3c95c /lib/libc/stdlib/strfmon.c | |
parent | b0a06b380fa5e865f5dd1d97175d2472eb8b9479 (diff) | |
download | FreeBSD-src-c1cbf173b2b8ce75b3e4d0751756022bdf03714a.zip FreeBSD-src-c1cbf173b2b8ce75b3e4d0751756022bdf03714a.tar.gz |
If bpf(4) has not been compiled into the kernel, initialize the bpf interface
pointer to a zeroed, statically allocated bpf_if structure. This way the
LIST_EMPTY() macro will always return true. This allows us to remove the
additional unconditional memory reference for each packet in the fast path.
Discussed with: sam
Diffstat (limited to 'lib/libc/stdlib/strfmon.c')
0 files changed, 0 insertions, 0 deletions