Re: [PATCH net] net/smc: Avoid overwriting the copies of clcsock callback functions

From: patchwork-bot+netdevbpf
Date: Fri Feb 11 2022 - 07:10:23 EST


Hello:

This patch was applied to netdev/net.git (master)
by David S. Miller <davem@xxxxxxxxxxxxx>:

On Wed, 9 Feb 2022 22:10:53 +0800 you wrote:
> The callback functions of clcsock will be saved and replaced during
> the fallback. But if the fallback happens more than once, then the
> copies of these callback functions will be overwritten incorrectly,
> resulting in a loop call issue:
>
> clcsk->sk_error_report
> |- smc_fback_error_report() <------------------------------|
> |- smc_fback_forward_wakeup() | (loop)
> |- clcsock_callback() (incorrectly overwritten) |
> |- smc->clcsk_error_report() ------------------|
>
> [...]

Here is the summary with links:
- [net] net/smc: Avoid overwriting the copies of clcsock callback functions
https://git.kernel.org/netdev/net/c/1de9770d121e

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