DragonFly commits List (threaded) for 2011-11
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
git: tcp: Allow pure asynchronized pru_send
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
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]