aboutgitcodebugslistschat
path: root/contrib/qemu/git:
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2025-02-27 16:55:15 +1100
committerStefano Brivio <sbrivio@redhat.com>2025-02-28 01:32:35 +0100
commit56ce03ed0acf2a41c67d44e353c00a018604ccb7 (patch)
treea08a54dc2dcfe026e8f21b9357c685a0e53d24b7 /contrib/qemu/git:
parent39f85bce1a3b9da3bd11458c521e589f674e587a (diff)
downloadpasst-56ce03ed0acf2a41c67d44e353c00a018604ccb7.tar
passt-56ce03ed0acf2a41c67d44e353c00a018604ccb7.tar.gz
passt-56ce03ed0acf2a41c67d44e353c00a018604ccb7.tar.bz2
passt-56ce03ed0acf2a41c67d44e353c00a018604ccb7.tar.lz
passt-56ce03ed0acf2a41c67d44e353c00a018604ccb7.tar.xz
passt-56ce03ed0acf2a41c67d44e353c00a018604ccb7.tar.zst
passt-56ce03ed0acf2a41c67d44e353c00a018604ccb7.zip
tcp: Correct error code handling from tcp_flow_repair_socket()
There are two small bugs in error returns from tcp_low_repair_socket(), which is supposed to return a negative errno code: 1) On bind() failures, wedirectly pass on the return code from bind(), which is just 0 or -1, instead of an error code. 2) In the caller, tcp_flow_migrate_target() we call strerror_() directly on the negative error code, but strerror() requires a positive error code. Correct both of these. Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'contrib/qemu/git:')
0 files changed, 0 insertions, 0 deletions