DragonFly BSD
DragonFly commits List (threaded) for 2011-11
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: socket: Properly inherit AUTOLOWAT and AUTOSIZE from listen socket


From: Sepherosa Ziehau <sephe@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 15 Nov 2011 18:26:53 -0800 (PST)

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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]