git: kernel - kqueue - fix EVFILT_WRITE notification on pipes

Matthew Dillon dillon at crater.dragonflybsd.org
Fri Aug 13 18:02:27 PDT 2010


commit 8315ba5b003d76d526841659e7b5f89cd9f8cf79
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Fri Aug 13 17:59:47 2010 -0700

    kernel - kqueue - fix EVFILT_WRITE notification on pipes
    
    * The pipe code was running the wrong kqueue for write buffer
      availability notifications, so things like scp transfers were timing
      out once the write socket filled up when they tried to poll() for
      more space.
    
    Reported-by: swildner

Summary of changes:
 sys/kern/sys_pipe.c |   39 +++++++++++++++++++++++++--------------
 1 files changed, 25 insertions(+), 14 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/8315ba5b003d76d526841659e7b5f89cd9f8cf79


-- 
DragonFly BSD source repository





More information about the Commits mailing list