Re: [PATCH net] net/smc: fix using of uninitialized completions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello:

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

On Mon, 27 Dec 2021 14:35:30 +0100 you wrote:
> In smc_wr_tx_send_wait() the completion on index specified by
> pend->idx is initialized and after smc_wr_tx_send() was called the wait
> for completion starts. pend->idx is used to get the correct index for
> the wait, but the pend structure could already be cleared in
> smc_wr_tx_process_cqe().
> Introduce pnd_idx to hold and use a local copy of the correct index.
> 
> [...]

Here is the summary with links:
  - [net] net/smc: fix using of uninitialized completions
    https://git.kernel.org/netdev/net/c/6d7373dabfd3

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





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Kernel Development]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Info]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Linux Media]     [Device Mapper]

  Powered by Linux