看板 DFBSD_commit 關於我們 聯絡資訊
commit 15d2bc79d633c676c76b686e21fa33036b5ebe69 Author: Sepherosa Ziehau <sephe@dragonflybsd.org> Date: Wed Nov 16 10:23:04 2011 +0800 socket: Properly inherit AUTOLOWAT and AUTOSIZE from listen socket The soreserve and pru_attach could set these two flags internally, so the original code will only retain those two flags but not clear them if the listen socket does not have them. We now explicitly check those two flags and then set or clear them accordingly. Summary of changes: sys/kern/uipc_socket2.c | 25 +++++++++++++++++++++---- 1 files changed, 21 insertions(+), 4 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/15d2bc79d633c676c76b686e21fa33036b5ebe69 -- DragonFly BSD source repository