kernel - kqueue - fix EVFILT_WRITE notification on pipes
authorMatthew Dillon <dillon@apollo.backplane.com>
Sat, 14 Aug 2010 00:59:47 +0000 (17:59 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Sat, 14 Aug 2010 00:59:47 +0000 (17:59 -0700)
commit8315ba5b003d76d526841659e7b5f89cd9f8cf79
tree3a912e8c84274ee51bd89b861cedfbffbb33b909
parent9a5d20db2b31ebaf094a3cb60c7342b1026f2947
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
sys/kern/sys_pipe.c