On 02/11/17 - 11:53:04, Eric Dumazet wrote:
> From: Eric Dumazet <eduma...@google.com>
> 
> icsk_accept_queue.fastopenq.lock is only fully initialized at listen()
> time.
> 
> LOCKDEP is not happy if we attempt a spin_lock_bh() on it, because
> of missing annotation. (Although kernel runs just fine)
> 
> Lets use net->ipv4.tcp_fastopen_ctx_lock to protect ctx access.
> 
> Fixes: 1fba70e5b6be ("tcp: socket option to set TCP fast open key")
> Signed-off-by: Eric Dumazet <eduma...@google.com>
> Cc: Yuchung Cheng <ych...@google.com>
> Cc: Christoph Paasch <cpaa...@apple.com>
> ---
>  net/ipv4/tcp_fastopen.c |    8 +++-----
>  1 file changed, 3 insertions(+), 5 deletions(-)

Reviewed-by: Christoph Paasch <cpaa...@apple.com>


Reply via email to