diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2024-09-18 11:53:06 +1000 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2024-09-18 17:14:50 +0200 |
commit | 265b2099c7715a3432eef00acd1faea7cbc1eb25 (patch) | |
tree | 05f12e8241b92b519775f8a539e043c057c303e0 /pif.c | |
parent | 4aff6f93923327cb875ceacf12ef0ffc2e613174 (diff) | |
download | passt-265b2099c7715a3432eef00acd1faea7cbc1eb25.tar passt-265b2099c7715a3432eef00acd1faea7cbc1eb25.tar.gz passt-265b2099c7715a3432eef00acd1faea7cbc1eb25.tar.bz2 passt-265b2099c7715a3432eef00acd1faea7cbc1eb25.tar.lz passt-265b2099c7715a3432eef00acd1faea7cbc1eb25.tar.xz passt-265b2099c7715a3432eef00acd1faea7cbc1eb25.tar.zst passt-265b2099c7715a3432eef00acd1faea7cbc1eb25.zip |
tcp: Simplify ifdef logic in tcp_update_seqack_wnd()
This function has a block conditional on !snd_wnd_cap shortly before an
snd_wnd_cap is statically false).
Therefore, simplify this down to a single conditional with an else branch.
While we're there, fix some improperly indented closing braces.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'pif.c')
0 files changed, 0 insertions, 0 deletions