diff options
author | rwatson <rwatson@FreeBSD.org> | 2008-03-25 07:41:33 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2008-03-25 07:41:33 +0000 |
commit | 59900e5206efb55f5382482d47a2f300d8a2b972 (patch) | |
tree | c85c0805ea0ddbb0b3701788f484d9d602cc5942 /lib/libthr/thread/thr_mutex.c | |
parent | 9a9594d179e3c5f3f47d805d0479f17ee4475f84 (diff) | |
download | FreeBSD-src-59900e5206efb55f5382482d47a2f300d8a2b972.zip FreeBSD-src-59900e5206efb55f5382482d47a2f300d8a2b972.tar.gz |
Check for a NULL free buffer pointer in BPF before invoking
bpf_canfreebuf() in order to avoid potentially calling a non-inlinable
but trivial function in zero-copy buffer mode for every packet
received when we couldn't free the buffer anyway.
MFC after: 4 months
Diffstat (limited to 'lib/libthr/thread/thr_mutex.c')
0 files changed, 0 insertions, 0 deletions