Re: [PATCH net v5] net: ax25: Fix deadlock caused by skb_recv_datagram in ax25_recvmsg
From: patchwork-bot+netdevbpf@kernel.org
Date: 2022-06-15 12:20:20
Also in:
linux-hams, lkml
From: patchwork-bot+netdevbpf@kernel.org
Date: 2022-06-15 12:20:20
Also in:
linux-hams, lkml
Hello: This patch was applied to netdev/net.git (master) by David S. Miller [off-list ref]: 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