diff options
| author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2019-10-23 12:02:47 +0200 | 
|---|---|---|
| committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2019-10-23 12:10:05 +0200 | 
| commit | 2e79e22e092acd55da0b2db066e4826d7d152c41 (patch) | |
| tree | e7ec9782c0b7831c511af711424126a2b9a4eb07 /include/linux/tcp.h | |
| parent | f1b4a9217efd61d0b84c6dc404596c8519ff6f59 (diff) | |
| parent | 7d194c2100ad2a6dded545887d02754948ca5241 (diff) | |
Merge v5.4-rc4 into drm-next
Thierry needs fd70c7755bf0 ("drm/bridge: tc358767: fix max_tu_symbol
value") to be able to merge his dp_link patch series.
Some adjacent changes conflicts, plus some clashes in i915 due to
cherry-picking and git trying to be helpful and leaving both versions
in.
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'include/linux/tcp.h')
| -rw-r--r-- | include/linux/tcp.h | 6 | 
1 files changed, 3 insertions, 3 deletions
diff --git a/include/linux/tcp.h b/include/linux/tcp.h index 99617e528ea2..668e25a76d69 100644 --- a/include/linux/tcp.h +++ b/include/linux/tcp.h @@ -393,7 +393,7 @@ struct tcp_sock {  	/* fastopen_rsk points to request_sock that resulted in this big  	 * socket. Used to retransmit SYNACKs etc.  	 */ -	struct request_sock *fastopen_rsk; +	struct request_sock __rcu *fastopen_rsk;  	u32	*saved_syn;  }; @@ -447,8 +447,8 @@ static inline struct tcp_timewait_sock *tcp_twsk(const struct sock *sk)  static inline bool tcp_passive_fastopen(const struct sock *sk)  { -	return (sk->sk_state == TCP_SYN_RECV && -		tcp_sk(sk)->fastopen_rsk != NULL); +	return sk->sk_state == TCP_SYN_RECV && +	       rcu_access_pointer(tcp_sk(sk)->fastopen_rsk) != NULL;  }  static inline void fastopen_queue_tune(struct sock *sk, int backlog)  | 
