Laurent Vivier
b6aeee0298
net: socket: remove net_init_socket()
...
Move the file descriptor type checking before doing anything with it.
If it's not usable, don't close it as it could be in use by another
part of QEMU, only fail and report an error.
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Laurent Vivier <lvivier@redhat.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
2023-07-07 16:35:12 +08:00
..
2023-06-20 10:01:30 +02:00
2022-12-14 20:04:47 +01:00
2021-07-26 07:06:58 -10:00
2022-10-28 13:28:52 +08:00
2022-12-14 16:19:35 +01:00
2021-06-11 10:30:13 +08:00
2022-09-02 10:22:39 +08:00
2022-09-02 10:22:39 +08:00
2023-03-13 15:39:31 +04:00
2023-03-10 15:35:38 +08:00
2023-05-23 15:20:15 +08:00
2020-12-15 10:02:07 -05:00
2022-02-14 11:50:44 +08:00
2021-05-02 17:24:50 +02:00
2022-07-20 16:58:08 +08:00
2020-12-15 10:02:07 -05:00
2022-12-14 20:04:47 +01:00
2020-03-09 18:44:04 +00:00
2023-02-17 13:31:33 +08:00
2023-06-20 10:01:30 +02:00
2023-02-04 07:56:54 +01:00
2023-03-10 15:35:38 +08:00
2021-05-02 17:24:50 +02:00
2021-03-15 16:41:22 +08:00
2023-03-13 15:39:31 +04:00
2023-07-07 16:35:12 +08:00
2023-02-17 13:31:33 +08:00
2021-06-04 15:25:46 +08:00
2023-01-09 13:50:47 +01:00
2023-01-09 13:50:47 +01:00
2022-11-11 09:39:03 +01:00
2023-01-09 13:50:47 +01:00
2021-06-04 15:25:46 +08:00
2022-12-14 20:04:47 +01:00
2023-03-10 15:35:38 +08:00
2022-09-02 10:22:39 +08:00
2020-08-21 06:18:24 -04:00
2016-02-04 17:41:30 +00:00
2022-04-06 10:50:37 +02:00
2022-10-28 13:28:52 +08:00
2019-02-21 12:28:01 -05:00
2023-01-08 01:54:22 -05:00
2022-07-20 16:58:08 +08:00
2023-06-26 09:50:00 -04:00
2023-02-17 13:31:33 +08:00
2023-06-13 11:28:58 +02:00
2023-02-17 13:31:33 +08:00
2022-12-14 20:04:47 +01:00
2022-12-14 20:04:47 +01:00