D. Wythe c5bf605ba4 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>
2023-11-06 10:01:07 +00:00
..
2023-10-23 08:45:25 +01:00
2023-10-01 19:09:54 +01:00
2023-08-29 17:39:15 -07:00
2023-10-26 20:27:58 -07:00
2023-10-30 14:36:57 -07:00
2023-10-01 19:09:54 +01:00
2023-10-30 10:12:29 -10:00
2023-10-27 09:12:47 -07:00
2023-10-26 20:27:58 -07:00
2023-10-01 19:09:54 +01:00
2023-10-30 14:36:57 -07:00
2023-10-11 10:39:01 +01:00
2023-11-01 11:16:34 -10:00