看板 DFBSD_commit 關於我們 聯絡資訊
commit f2a3782e247aa32d0930dc0b99077f323e3815d7 Author: Sepherosa Ziehau <sephe@dragonflybsd.org> Date: Thu Nov 3 21:38:49 2011 +0800 tcp: Allow pure asynchronized pru_send - net.inet.tcp.sosnd_async is added to allow pure asynchronized pru_send. It is default to off currently. - To prevent soclose() and soshutdown() from interfering TCP processing on the loopback interface, so_pru_sync() is added, which will make sure that so_pru_disconnect() and so_pru_shutdown() run only after all of the previous sent packets had been requeued to netisr (the semantics of the original half asynchronized pru_send). Summary of changes: sys/kern/uipc_msg.c | 16 ++++++++++++++++ sys/kern/uipc_socket.c | 14 ++++++++++---- sys/netinet/tcp_input.c | 4 ++++ sys/sys/socketops.h | 1 + 4 files changed, 31 insertions(+), 4 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/f2a3782e247aa32d0930dc0b99077f323e3815d7 -- DragonFly BSD source repository