diff options
| author | David Gibson <david@gibson.dropbear.id.au> | 2026-01-13 14:06:14 +1100 |
|---|---|---|
| committer | Stefano Brivio <sbrivio@redhat.com> | 2026-01-14 01:07:51 +0100 |
| commit | a54274d28ba21e09909cc012315ffa078ef41fd8 (patch) | |
| tree | a753346f31237482e0a058279414e084ac326a3c /test/tcp/git: | |
| parent | d5fd945ceb379b695b8d58aeab9363509fcf6587 (diff) | |
| download | passt-a54274d28ba21e09909cc012315ffa078ef41fd8.tar passt-a54274d28ba21e09909cc012315ffa078ef41fd8.tar.gz passt-a54274d28ba21e09909cc012315ffa078ef41fd8.tar.bz2 passt-a54274d28ba21e09909cc012315ffa078ef41fd8.tar.lz passt-a54274d28ba21e09909cc012315ffa078ef41fd8.tar.xz passt-a54274d28ba21e09909cc012315ffa078ef41fd8.tar.zst passt-a54274d28ba21e09909cc012315ffa078ef41fd8.zip | |
tcp, udp: Make {tcp,udp}_listen() return socket fds
{tcp,udp}_listen() currently return 0 on success, rather than the socket
fd they created. Historically, that was because these functions could
sometimes create multiple sockets. We've now refactored things to avoid
that, so it makes more sense for them to return the socket on success.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'test/tcp/git:')
0 files changed, 0 insertions, 0 deletions
