aboutgitcodebugslistschat
path: root/util.h
diff options
context:
space:
mode:
authorStefano Brivio <sbrivio@redhat.com>2023-02-22 13:12:58 +0100
committerStefano Brivio <sbrivio@redhat.com>2023-02-22 13:16:22 +0100
commit4ddbcb9c0c555838b123c018a9ebc9b7e14a87e5 (patch)
tree8ca0b65e08bb811d0aab681f2a0678086d511900 /util.h
parent933aa1014bb9012fa20974945502c6687beaaebe (diff)
downloadpasst-4ddbcb9c0c555838b123c018a9ebc9b7e14a87e5.tar
passt-4ddbcb9c0c555838b123c018a9ebc9b7e14a87e5.tar.gz
passt-4ddbcb9c0c555838b123c018a9ebc9b7e14a87e5.tar.bz2
passt-4ddbcb9c0c555838b123c018a9ebc9b7e14a87e5.tar.lz
passt-4ddbcb9c0c555838b123c018a9ebc9b7e14a87e5.tar.xz
passt-4ddbcb9c0c555838b123c018a9ebc9b7e14a87e5.tar.zst
passt-4ddbcb9c0c555838b123c018a9ebc9b7e14a87e5.zip
tcp: Disable optimisations for tcp_hash()2023_02_22.4ddbcb9
I'm not sure if we're breaking some aliasing rule here, but with gcc 12.2.1 on x86_64 and -flto, the siphash_20b() call in tcp_hash() doesn't see the connection address -- it gets all zeroes instead. Fix this temporarily by disabling optimisations for this tcp_hash(). Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'util.h')
0 files changed, 0 insertions, 0 deletions