mbox series

[net,v2,0/3] bugfixs for smc

Message ID 1698991660-82957-1-git-send-email-alibuda@linux.alibaba.com (mailing list archive)
Headers show
Series bugfixs for smc | expand

Message

D. Wythe Nov. 3, 2023, 6:07 a.m. UTC
From: "D. Wythe" <alibuda@linux.alibaba.com>

This patches includes bugfix following:

1. hung state
2. sock leak
3. potential panic

We have been testing these patches for some time, but
if you have any questions, please let us know.

--
v1:
Fix spelling errors and incorrect function names in descriptions

v2->v1:
Add fix tags for bugfix patch

D. Wythe (3):
  net/smc: fix dangling sock under state SMC_APPFINCLOSEWAIT
  net/smc: allow cdc msg send rather than drop it with NULL sndbuf_desc
  net/smc: put sk reference if close work was canceled

 net/smc/af_smc.c    |  4 ++--
 net/smc/smc.h       |  5 +++++
 net/smc/smc_cdc.c   | 11 +++++------
 net/smc/smc_close.c |  5 +++--
 4 files changed, 15 insertions(+), 10 deletions(-)

Comments

Wenjia Zhang Nov. 3, 2023, 8:13 a.m. UTC | #1
On 03.11.23 07:07, D. Wythe wrote:
> From: "D. Wythe" <alibuda@linux.alibaba.com>
> 
> This patches includes bugfix following:
> 
> 1. hung state
> 2. sock leak
> 3. potential panic
> 
> We have been testing these patches for some time, but
> if you have any questions, please let us know.
> 
> --
> v1:
> Fix spelling errors and incorrect function names in descriptions
> 
> v2->v1:
> Add fix tags for bugfix patch
> 
> D. Wythe (3):
>    net/smc: fix dangling sock under state SMC_APPFINCLOSEWAIT
>    net/smc: allow cdc msg send rather than drop it with NULL sndbuf_desc
>    net/smc: put sk reference if close work was canceled
> 
>   net/smc/af_smc.c    |  4 ++--
>   net/smc/smc.h       |  5 +++++
>   net/smc/smc_cdc.c   | 11 +++++------
>   net/smc/smc_close.c |  5 +++--
>   4 files changed, 15 insertions(+), 10 deletions(-)
> 

Thank you for the fixes, LGTM! For all of the 3 pathces:

Reviewed-by: Wenjia Zhang <wenjia@linux.ibm.com>
patchwork-bot+netdevbpf@kernel.org Nov. 6, 2023, 10:10 a.m. UTC | #2
Hello:

This series was applied to netdev/net.git (main)
by David S. Miller <davem@davemloft.net>:

On Fri,  3 Nov 2023 14:07:37 +0800 you wrote:
> From: "D. Wythe" <alibuda@linux.alibaba.com>
> 
> This patches includes bugfix following:
> 
> 1. hung state
> 2. sock leak
> 3. potential panic
> 
> [...]

Here is the summary with links:
  - [net,v2,1/3] net/smc: fix dangling sock under state SMC_APPFINCLOSEWAIT
    https://git.kernel.org/netdev/net/c/5211c9729484
  - [net,v2,2/3] net/smc: allow cdc msg send rather than drop it with NULL sndbuf_desc
    https://git.kernel.org/netdev/net/c/c5bf605ba4f9
  - [net,v2,3/3] net/smc: put sk reference if close work was canceled
    https://git.kernel.org/netdev/net/c/aa96fbd6d78d

You are awesome, thank you!