diff options
author | Stefano Brivio <sbrivio@redhat.com> | 2024-10-30 21:31:05 +0100 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2024-11-05 23:46:24 +0100 |
commit | d165d36a0c88fe8665da012f35cb60ced991568b (patch) | |
tree | e7b8871c1f9bde1e77a2135df9cd32d0f38b8910 /tap.c | |
parent | ee7d0b62a716201abc818eb0d1df4c6bb1051336 (diff) | |
download | passt-d165d36a0c88fe8665da012f35cb60ced991568b.tar passt-d165d36a0c88fe8665da012f35cb60ced991568b.tar.gz passt-d165d36a0c88fe8665da012f35cb60ced991568b.tar.bz2 passt-d165d36a0c88fe8665da012f35cb60ced991568b.tar.lz passt-d165d36a0c88fe8665da012f35cb60ced991568b.tar.xz passt-d165d36a0c88fe8665da012f35cb60ced991568b.tar.zst passt-d165d36a0c88fe8665da012f35cb60ced991568b.zip |
tcp: Fix build against musl, __sum16 comes from linux/types.h
Use a plain uint16_t instead and avoid including one extra header:
the 'bitwise' attribute of __sum16 is just used by sparse(1).
Reported-by: omni <omni+alpine@hack.org>
Fixes: 3d484aa37090 ("tcp: Update TCP checksum using an iovec array")
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'tap.c')
0 files changed, 0 insertions, 0 deletions