mirror of
https://passt.top/passt
synced 2024-12-22 13:45:32 +00:00
ip: Use regular htons() for non-constant protocol number in L2_BUF_IP4_PSUM
instead of htons_constant(), which is for... constants.
Fixes: 5bf200ae8a
("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>
This commit is contained in:
parent
137ce01789
commit
383a6f67e5
Loading…
Reference in New Issue
Block a user