[prev in list] [next in list] [prev in thread] [next in thread] 

List:       hurd-commit
Subject:    [SCM] Hurd branch, master, updated. v0.5-551-g87fad50
From:       Samuel Thibault <samuel.thibault () ens-lyon ! org>
Date:       2015-01-03 16:48:54
Message-ID: E1Y7Rsk-0001EE-Bs () vcs ! savannah ! gnu ! org
[Download RAW message or body]

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Hurd".

The branch, master has been updated
       via  87fad50310f2bd0dcc990e80e23b09768918cf5b (commit)
      from  29a30c44bb8cecb341df211bcb3b330f515c9003 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 87fad50310f2bd0dcc990e80e23b09768918cf5b
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Sat Jan 3 17:44:01 2015 +0100

    Backport Linux changes for proper TCP EOF handling
    
    Notably when remote eagerly sends a RST: we want to return EOF to the
    application, not EPIPE.
    
    * pfinet/linux-src/net/ipv4/tcp_output.c (tcp_connect): Set sk->done to 0.
    * pfinet/linux-src/net/ipv4/tcp_input.c (tcp_fin): Set RCV_SHUTDOWN, and
    sk->done to 1.
    * pfinet/linux-src/net/ipv4/tcp.c (tcp_recv_urg): Only return ENOTCONN when
    we never actually connect.  Always return 0 when reception is closed.
    (tcp_recvmsg): When any data is available, ignore errors and EOF.  When no
    data is available, first check for reception being closed, then for errors.

-----------------------------------------------------------------------

Summary of changes:
 pfinet/linux-src/net/ipv4/tcp.c        |   59 ++++++++++++++-----------------
 pfinet/linux-src/net/ipv4/tcp_input.c  |    3 ++
 pfinet/linux-src/net/ipv4/tcp_output.c |    1 +
 3 files changed, 31 insertions(+), 32 deletions(-)


hooks/post-receive
-- 
Hurd

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic