看板 DFBSD_commit 關於我們 聯絡資訊
commit 95ec0a9ce1d830d0003820ed1627f95af92d5aad Author: Matthew Dillon <dillon@apollo.backplane.com> Date: Mon Feb 15 09:32:27 2010 -0800 kernel - Fix issue w/ buffer ortation when doing non-blocking read from bpf * Non-blocking reads from a BPF device not in immediate mode would not rotate the buffers even if the was data in the store buffer, but not in the hold buffer. So until the store buffer fills up, the reads would return -1 and set errno to EWOULDBLOCK. Submitted-by: Guy Harris <guy@alum.mit.edu> Taken-from: FreeBSD Summary of changes: sys/net/bpf.c | 8 ++++++-- 1 files changed, 6 insertions(+), 2 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/95ec0a9ce1d830d0003820ed1627f95af92d5aad -- DragonFly BSD source repository