Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | ip: Use regular htons() for non-constant protocol number in L2_BUF_IP4_PSUM | Stefano Brivio | 2024-03-08 | 1 | -1/+1 |
| | | | | | | | | instead of htons_constant(), which is for... constants. Fixes: 5bf200ae8a1a ("tcp, udp: Don't include destination address in partially precomputed csums") Signed-off-by: Stefano Brivio <sbrivio@redhat.com> Reviewed-by: David Gibson <david@gibson.dropbear.id.au> | ||||
* | util: move IP stuff from util.[ch] to ip.[ch] | Laurent Vivier | 2024-03-06 | 1 | -0/+86 |
Introduce ip.[ch] file to encapsulate IP protocol handling functions and structures. Modify various files to include the new header ip.h when it's needed. Signed-off-by: Laurent Vivier <lvivier@redhat.com> Reviewed-by: David Gibson <david@gibson.dropbear.id.au> Message-ID: <20240303135114.1023026-5-lvivier@redhat.com> Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Stefano Brivio <sbrivio@redhat.com> |