• David Howells's avatar
    rxrpc: Add tracepoint for ACK proposal · 9c7ad434
    David Howells authored
    Add a tracepoint to log proposed ACKs, including whether the proposal is
    used to update a pending ACK or is discarded in favour of an easlier,
    higher priority ACK.
    
    Whilst we're at it, get rid of the rxrpc_acks() function and access the
    name array directly.  We do, however, need to validate the ACK reason
    number given to trace_rxrpc_rx_ack() to make sure we don't overrun the
    array.
    Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
    9c7ad434
recvmsg.c 16.7 KB