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>