diff options
author | D. Wythe <alibuda@linux.alibaba.com> | 2023-11-03 14:07:39 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-11-06 10:01:07 +0000 |
commit | c5bf605ba4f9d6fbbb120595ab95002f4716edcb (patch) | |
tree | e344429e7fe33335665f5c5b14cada37ca10f9f1 /drivers/cdx/controller/mcdi_functions.c | |
parent | 5211c9729484c923f8d2e06bd29f9322cc42bb8f (diff) |
net/smc: allow cdc msg send rather than drop it with NULL sndbuf_desc
This patch re-fix the issues mentioned by commit 22a825c541d7
("net/smc: fix NULL sndbuf_desc in smc_cdc_tx_handler()").
Blocking sending message do solve the issues though, but it also
prevents the peer to receive the final message. Besides, in logic,
whether the sndbuf_desc is NULL or not have no impact on the processing
of cdc message sending.
Hence that, this patch allows the cdc message sending but to check the
sndbuf_desc with care in smc_cdc_tx_handler().
Fixes: 22a825c541d7 ("net/smc: fix NULL sndbuf_desc in smc_cdc_tx_handler()")
Signed-off-by: D. Wythe <alibuda@linux.alibaba.com>
Reviewed-by: Dust Li <dust.li@linux.alibaba.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/cdx/controller/mcdi_functions.c')
0 files changed, 0 insertions, 0 deletions