• David Howells's avatar
    rxrpc: Offload the completion of service conn security to the I/O thread · 2953d3b8
    David Howells authored
    Offload the completion of the challenge/response cycle on a service
    connection to the I/O thread.  After the RESPONSE packet has been
    successfully decrypted and verified by the work queue, offloading the
    changing of the call states to the I/O thread makes iteration over the
    conn's channel list simpler.
    
    Do this by marking the RESPONSE skbuff and putting it onto the receive
    queue for the I/O thread to collect.  We put it on the front of the queue
    as we've already received the packet for it.
    Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
    cc: Marc Dionne <marc.dionne@auristor.com>
    cc: linux-afs@lists.infradead.org
    2953d3b8
conn_event.c 11.8 KB