1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
samba-mirror/ctdb/common
Amitay Isaacs 6aa396b0cd ctdb-common: Avoid aliasing errors during code optimization
When compiling with GCC 10.x and -O3 optimization, the IP checksum
calculation code generates wrong checksum.  The function uint16_checksum
gets inlined during optimization and ip4pkt->tcp data gets wrongly
aliased.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14537

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>

Autobuild-User(master): Martin Schwenke <martins@samba.org>
Autobuild-Date(master): Wed Oct 21 05:52:28 UTC 2020 on sn-devel-184
2020-10-21 05:52:28 +00:00
..
cmdline.c ctdb-common: Remove signed/unsigned comparisons 2020-02-18 02:56:38 +00:00
cmdline.h ctdb-common: Add api to add new section/commands to cmdline 2019-11-14 10:38:34 +00:00
comm.c
comm.h spelling of associated 2019-02-13 04:15:14 +01:00
common.h ctdb-common: Return value of ctdb_queue_length() should be unsigned 2019-08-14 09:11:36 +00:00
conf_tool.c ctdb-common: Add section to group commands in cmdline 2019-11-14 10:38:34 +00:00
conf_tool.h ctdb-common: Add config options tool 2018-05-12 12:06:28 +02:00
conf.c ctdb-common: Fix empty value handling in conf 2019-07-26 03:34:16 +00:00
conf.h ctdb-common: Add config file parsing code 2018-05-12 12:06:28 +02:00
ctdb_io.c ctdb: Use TALLOC_FREE() in a few places 2019-11-08 01:35:11 +00:00
ctdb_ltdb.c ctdb: Avoid malloc/memcpy/free in ctdb_ltdb_fetch() 2019-10-24 04:06:42 +00:00
ctdb_util.c ctdb-common: Fix signed/unsigned comparisons by casting 2019-07-05 05:03:24 +00:00
db_hash.c
db_hash.h
event_script.c ctdb-common: Fix signed/unsigned comparisons by casting 2019-07-05 05:03:24 +00:00
event_script.h ctdb-common: Factor out basic script abstraction 2018-07-28 17:14:11 +02:00
hash_count.c
hash_count.h
line.c ctdb-common: Add line based I/O 2018-07-28 03:50:11 +02:00
line.h ctdb-common: Add line based I/O 2018-07-28 03:50:11 +02:00
logging_conf.c ctdb-common: Add config options for logging 2018-05-12 12:06:28 +02:00
logging_conf.h ctdb-common: Add config options for logging 2018-05-12 12:06:28 +02:00
logging.c ctdb-common: Fix signed/unsigned comparisons by casting 2019-06-05 10:25:49 +00:00
logging.h ctdb-common: Add a function to validate logging specification 2018-05-12 12:06:28 +02:00
path_tool.c ctdb-common: Add section to group commands in cmdline 2019-11-14 10:38:34 +00:00
path_tool.h ctdb-common: Add path tool 2018-05-12 12:06:28 +02:00
path.c ctdb-common: Fix signed/unsigned comparisons by casting 2019-06-05 10:25:49 +00:00
path.h ctdb-common: Add path support for datadir 2018-07-11 11:48:38 +02:00
pidfile.c
pidfile.h
pkt_read.c
pkt_read.h
pkt_write.c
pkt_write.h
rb_tree.c ctdb-common: Use #ifdef to avoid TEST_RB_TREE not defined 2019-06-05 10:25:50 +00:00
rb_tree.h
reqid.c
reqid.h
run_event.c ctdb-common: Fix signed/unsigned comparisons by declaring as unsigned 2019-07-05 05:03:24 +00:00
run_event.h ctdb-common: Add support to run events through failure 2018-06-05 22:34:19 +02:00
run_proc.c ctdb-common: Fix memory leak in run_proc 2019-05-14 08:59:03 +00:00
run_proc.h Fix spelling s/allows to/allows one to/ 2018-05-12 02:09:25 +02:00
sock_client.c ctdb: Check return values of tevent_req_set_endtime() 2018-05-17 01:09:46 +02:00
sock_client.h Fix spelling s/allows to/allows one to/ 2018-05-12 02:09:25 +02:00
sock_daemon.c ctdb:common: Do not print NULL if we don't get a sockpath 2019-05-08 16:33:24 +00:00
sock_daemon.h ctdb-common: Set close-on-exec for startup fd 2018-10-22 06:04:20 +02:00
sock_io.c ctdb-common: Fix signed/unsigned comparisons by casting 2019-07-05 05:03:24 +00:00
sock_io.h
srvid.c
srvid.h ctdb/common/srvid.h: typo fixes 2019-10-31 00:43:38 +00:00
system_socket.c ctdb-common: Avoid aliasing errors during code optimization 2020-10-21 05:52:28 +00:00
system_socket.h ctdb-common: Drop function parse_ip_mask() and supporting functions 2018-07-27 05:45:21 +02:00
system.c ctdb: Use #ifdef instead of #if for config.h definitions 2018-11-28 23:19:21 +01:00
system.h ctdb-common: Drop unused function mkdir_p_or_die() 2018-07-27 08:42:20 +02:00
tunable.c ctdb-common: Mark VacuumLimit tunable as obsolete 2019-10-04 07:07:21 +00:00
tunable.h