• David Howells's avatar
    rxrpc: Add notification of end-of-Tx phase · e833251a
    David Howells authored
    Add a callback to rxrpc_kernel_send_data() so that a kernel service can get
    a notification that the AF_RXRPC call has transitioned out the Tx phase and
    is now waiting for a reply or a final ACK.
    
    This is called from AF_RXRPC with the call state lock held so the
    notification is guaranteed to come before any reply is passed back.
    
    Further, modify the AFS filesystem to make use of this so that we don't have
    to change the afs_call state before sending the last bit of data.
    Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
    e833251a
sendmsg.c 19 KB