From: Eric Dumazet <[email protected]>
Date: Sun, 22 Oct 2017 12:33:57 -0700

> From: Eric Dumazet <[email protected]>
> 
> This patch fixes the following lockdep splat in inet_csk_route_req()
> 
>   lockdep_rcu_suspicious
>   inet_csk_route_req
>   tcp_v4_send_synack
>   tcp_rtx_synack
>   inet_rtx_syn_ack
>   tcp_fastopen_synack_time
>   tcp_retransmit_timer
>   tcp_write_timer_handler
>   tcp_write_timer
>   call_timer_fn
> 
> Thread running inet_csk_route_req() owns a reference on the request
> socket, so we have the guarantee ireq->ireq_opt wont be changed or
> freed.
> 
> lockdep can enforce this invariant for us.
> 
> Fixes: c92e8c02fe66 ("tcp/dccp: fix ireq->opt races")
> Signed-off-by: Eric Dumazet <[email protected]>

Applied and queued up for -stable.

Reply via email to