mbox series

[net,v2,0/6] several fixes for smc

Message ID 20241211092121.19412-1-guangguan.wang@linux.alibaba.com (mailing list archive)
Headers show
Series several fixes for smc | expand

Message

Guangguan Wang Dec. 11, 2024, 9:21 a.m. UTC
v1 -> v2:
rewrite patch #2 suggested by Paolo.

Guangguan Wang (6):
  net/smc: protect link down work from execute after lgr freed
  net/smc: check sndbuf_space again after NOSPACE flag is set in
    smc_poll
  net/smc: check iparea_offset and ipv6_prefixes_cnt when receiving
    proposal msg
  net/smc: check v2_ext_offset/eid_cnt/ism_gid_cnt when receiving
    proposal msg
  net/smc: check smcd_v2_ext_offset when receiving proposal msg
  net/smc: check return value of sock_recvmsg when draining clc data

 net/smc/af_smc.c   | 18 ++++++++++++++++--
 net/smc/smc_clc.c  | 17 ++++++++++++++++-
 net/smc/smc_clc.h  | 22 +++++++++++++++++++---
 net/smc/smc_core.c |  9 +++++++--
 4 files changed, 58 insertions(+), 8 deletions(-)