Marian Buschsieweke
e714707b14
sys/net/gnrc/tcp: fix gnrc_tcp_open() netif handling
...
gnrc_tcp_open() previously would eventually fail with a timeout without
sending any data when no netif was specified and a link-local target
address was used. This fixes the behavior:
- If there is only one netif, we just pick that
- If there are multiple netifs, fail directly with `-EINVAL` rather than
sending out nothing and waiting for a timeout.
Co-authored-by: benpicco <benpicco@googlemail.com>
2024-11-12 15:44:41 +01:00
..
2024-03-26 14:54:22 +01:00
2024-03-26 14:54:22 +01:00
2024-03-26 14:54:22 +01:00
2024-07-29 11:45:58 +02:00
2024-03-26 14:54:22 +01:00
2024-03-26 14:54:22 +01:00
2024-03-26 14:54:22 +01:00
2024-03-26 14:54:22 +01:00
2024-03-26 14:54:22 +01:00
2024-03-26 14:54:22 +01:00
2024-07-29 11:45:58 +02:00
2024-03-26 14:54:22 +01:00
2024-03-26 14:54:22 +01:00
2024-03-27 10:28:12 +01:00
2024-03-26 14:54:22 +01:00
2024-03-26 14:54:22 +01:00
2024-03-26 14:54:22 +01:00
2024-03-27 10:28:12 +01:00
2024-03-26 14:54:22 +01:00
2024-03-26 14:54:22 +01:00
2024-10-17 10:25:59 +02:00
2024-03-26 14:54:22 +01:00
2024-03-27 10:28:12 +01:00
2024-03-26 14:54:22 +01:00
2024-03-26 14:54:22 +01:00
2024-03-26 14:54:22 +01:00
2024-04-03 13:22:51 +02:00
2024-03-27 10:28:12 +01:00
2024-10-25 08:11:51 +00:00
2024-03-26 14:54:22 +01:00
2024-07-29 11:45:58 +02:00
2024-03-26 14:54:22 +01:00
2024-03-26 14:54:22 +01:00
2024-03-26 14:54:22 +01:00
2022-12-19 13:03:45 +01:00
2024-07-13 04:35:21 +02:00
2024-11-08 20:03:37 +00:00
2024-03-26 14:54:22 +01:00
2024-04-08 16:42:45 +02:00
2024-03-26 14:54:22 +01:00
2024-03-26 14:54:22 +01:00
2024-03-26 14:54:22 +01:00
2024-10-28 14:51:44 +01:00
2024-03-26 10:00:24 +01:00
2024-03-26 10:00:24 +01:00
2024-10-09 22:23:40 +02:00
2024-03-26 14:54:22 +01:00
2024-03-26 14:54:22 +01:00
2024-11-12 15:44:41 +01:00
2024-04-08 11:20:14 +02:00
2024-03-26 14:54:22 +01:00
2024-03-26 14:54:22 +01:00
2024-04-04 11:24:04 +00:00
2024-04-08 11:20:14 +02:00
2024-03-26 14:54:22 +01:00
2024-03-26 14:54:22 +01:00
2024-10-29 13:29:54 +00:00
2024-03-26 14:54:22 +01:00
2024-03-27 10:28:12 +01:00
2024-05-31 19:54:10 +02:00
2024-10-29 16:52:30 +00:00
2023-06-15 10:24:54 +02:00
2024-05-31 23:29:09 +02:00
2024-02-28 11:49:05 +01:00
2024-03-26 14:54:22 +01:00
2024-03-27 16:39:56 +00:00
2024-10-24 09:57:36 +02:00
2024-03-26 14:54:22 +01:00
2024-03-26 14:54:22 +01:00
2024-03-26 14:54:22 +01:00
2024-03-26 14:54:22 +01:00
2024-03-26 14:54:22 +01:00
2024-03-26 14:54:22 +01:00
2024-03-26 14:54:22 +01:00
2024-10-02 22:17:08 +02:00
2024-03-27 10:28:12 +01:00
2024-02-28 11:49:05 +01:00
2024-03-26 14:54:22 +01:00
2024-02-09 15:24:22 +01:00
2024-02-09 15:24:22 +01:00
2024-02-09 15:24:22 +01:00
2024-02-09 15:24:22 +01:00
2024-02-09 15:31:21 +01:00
2024-02-09 15:24:22 +01:00
2024-02-09 15:24:22 +01:00
2024-11-07 16:30:01 +01:00
2024-07-29 11:45:58 +02:00
2024-03-26 14:54:22 +01:00
2024-03-26 14:54:22 +01:00
2024-03-26 14:54:22 +01:00
2024-03-26 14:54:22 +01:00
2024-03-26 14:54:22 +01:00
2023-12-21 12:02:19 +01:00
2024-03-26 14:54:22 +01:00
2024-10-29 09:40:22 +01:00
2024-03-26 14:54:22 +01:00
2024-03-26 14:54:22 +01:00
2024-03-26 14:54:22 +01:00
2024-05-15 11:20:38 +02:00
2024-05-15 11:20:38 +02:00
2024-03-26 14:54:22 +01:00
2024-10-18 14:52:11 -04:00
2024-05-24 19:19:40 +02:00
2023-02-27 15:09:08 +01:00
2024-03-27 10:28:12 +01:00
2023-08-31 14:38:49 +02:00
2024-05-29 11:32:22 +02:00
2024-02-28 11:49:05 +01:00