DragonFly commits List (threaded) for 2010-09
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
git: network - Allow asynchronous shutdown and fix a MP race in soshutdown().
commit edf5c73201f87ebd973c4e5404a00e9fa92bed2a
Author: Matthew Dillon <dillon@apollo.backplane.com>
Date: Thu Sep 16 00:50:40 2010 -0700
network - Allow asynchronous shutdown and fix a MP race in soshutdown().
* The ssb_release() call in sorflush() must be protected by
socket->so_rcv.ssb_token. This call is made from the user
side when soshutdown() is called.
* Allow shutdowns to interrupt another thread read()ing from the same
descriptor by removing the user-side interlock in the shutdown code
path.
Summary of changes:
sys/kern/uipc_socket.c | 15 ++++++++++-----
1 files changed, 10 insertions(+), 5 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/edf5c73201f87ebd973c4e5404a00e9fa92bed2a
--
DragonFly BSD source repository
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]