From cf4ce59b3b70238352c7f1729f0f7223214828ad Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Fri, 20 Sep 2024 01:46:19 +0000 Subject: [PATCH] rtl88x2CE_WiFi_linux add concurrent mode --- kernel/net/sctp/bind_addr.c | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/kernel/net/sctp/bind_addr.c b/kernel/net/sctp/bind_addr.c index 59e653b..6b95d3b 100644 --- a/kernel/net/sctp/bind_addr.c +++ b/kernel/net/sctp/bind_addr.c @@ -73,6 +73,12 @@ } } + /* If somehow no addresses were found that can be used with this + * scope, it's an error. + */ + if (list_empty(&dest->address_list)) + error = -ENETUNREACH; + out: if (error) sctp_bind_addr_clean(dest); -- Gitblit v1.6.2