Message ID | 20211228090325.27263-1-dust.li@linux.alibaba.com (mailing list archive) |
---|---|
Headers | show |
Series | net/smc: fix kernel panic caused by race of smc_sock | expand |
Hello: This series was applied to netdev/net.git (master) by David S. Miller <davem@davemloft.net>: On Tue, 28 Dec 2021 17:03:23 +0800 you wrote: > This patchset fixes the race between smc_release triggered by > close(2) and cdc_handle triggered by underlaying RDMA device. > > The race is caused because the smc_connection may been released > before the pending tx CDC messages got its CQEs. In order to fix > this, I add a counter to track how many pending WRs we have posted > through the smc_connection, and only release the smc_connection > after there is no pending WRs on the connection. > > [...] Here is the summary with links: - [net,1/2] net/smc: don't send CDC/LLC message if link not ready https://git.kernel.org/netdev/net/c/90cee52f2e78 - [net,2/2] net/smc: fix kernel panic caused by race of smc_sock https://git.kernel.org/netdev/net/c/349d43127dac You are awesome, thank you!