diff options
author | Eric Dumazet <edumazet@google.com> | 2017-10-22 22:33:57 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-10-23 07:45:25 +0300 |
commit | a6ca7abe53633d08eea1c6756cb49c9b2d4c90bf (patch) | |
tree | 800cd8cbbd05b2d687ed7fc8d5374e318e3ba985 /drivers/net/usb/r8152.c | |
parent | 3a91d29f20276fa7cd4d0c9c7f3e78b30708159d (diff) | |
download | linux-a6ca7abe53633d08eea1c6756cb49c9b2d4c90bf.tar.xz |
tcp/dccp: fix lockdep splat in inet_csk_route_req()
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 <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/usb/r8152.c')
0 files changed, 0 insertions, 0 deletions