• Eric Dumazet's avatar
    inet: add rsk_listener field to struct request_sock · 4e9a578e
    Eric Dumazet authored
    Once we'll be able to lookup request sockets in ehash table,
    we'll need to get access to listener which created this request.
    
    This avoid doing a lookup to find the listener, which benefits
    for a more solid SO_REUSEPORT, and is needed once we no
    longer queue request sock into a listener private queue.
    
    Note that 'struct tcp_request_sock'->listener could be reduced
    to a single bit, as TFO listener should match req->rsk_listener.
    TFO will no longer need to hold a reference on the listener.
    Signed-off-by: default avatarEric Dumazet <edumazet@google.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    4e9a578e
request_sock.h 8.52 KB