Subject: Re: [PATCH net v5] net: ax25: Fix deadlock caused by skb_recv_datagram in ax25_recvmsg

From: [email-masked]
Date: Wed, 15 Jun 2022 12:20:13 +0000

Hello:

This patch was applied to netdev/net.git (master)
by David S. Miller <[email-masked]>:

On Tue, 14 Jun 2022 17:25:57 +0800 you wrote:
> The skb_recv_datagram() in ax25_recvmsg() will hold lock_sock
> and block until it receives a packet from the remote. If the client
> doesn`t connect to server and calls read() directly, it will not
> receive any packets forever. As a result, the deadlock will happen.
> 
> The fail log caused by deadlock is shown below:
> 
> [...]

Here is the summary with links:
  - [net,v5] net: ax25: Fix deadlock caused by skb_recv_datagram in ax25_recvmsg
    https://git.kernel.org/netdev/net/c/219b51a6f040

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html