git: kernel - Fix issue w/ buffer ortation when doing non-blocki

看板DFBSD_commit作者時間16年前 (2010/02/16 02:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
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
文章代碼(AID): #1BUOlgDh (DFBSD_commit)