kernel/net/sctp/bind_addr.c
.. .. @@ -73,6 +73,12 @@ 73 73 } 74 74 } 75 75 76 + /* If somehow no addresses were found that can be used with this77 + * scope, it's an error.78 + */79 + if (list_empty(&dest->address_list))80 + error = -ENETUNREACH;81 +76 82 out: 77 83 if (error) 78 84 sctp_bind_addr_clean(dest);