diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2023-02-16 16:43:11 +1100 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2023-02-16 18:56:37 +0100 |
commit | 89e0fbfaa777ef28b5269421cc6770589145d4e6 (patch) | |
tree | 401cb169e219c72683a6d05d408868120934528d /util.h | |
parent | 83b2061ae7c7f0b3f3c85fa88a195c84fd9404c6 (diff) | |
download | passt-89e0fbfaa777ef28b5269421cc6770589145d4e6.tar passt-89e0fbfaa777ef28b5269421cc6770589145d4e6.tar.gz passt-89e0fbfaa777ef28b5269421cc6770589145d4e6.tar.bz2 passt-89e0fbfaa777ef28b5269421cc6770589145d4e6.tar.lz passt-89e0fbfaa777ef28b5269421cc6770589145d4e6.tar.xz passt-89e0fbfaa777ef28b5269421cc6770589145d4e6.tar.zst passt-89e0fbfaa777ef28b5269421cc6770589145d4e6.zip |
tcp: Remove 'zero_len' goto from tcp_data_from_sock
This goto exists purely to move this exception case out of line. Although
that does make the "normal" path a little clearer, it comes at the cost of
not knowing how where control will flow after jumping to the zero_len
label. The exceptional case isn't that long, so just put it inline.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'util.h')
0 files changed, 0 insertions, 0 deletions