difos/package/network/utils/iproute2/patches
Kevin Darbyshire-Bryant ad5af37ca7 iproute2: backport json_print-fix-hidden-64-bit-type-promotion
The sender domain has a DMARC Reject/Quarantine policy which disallows
sending mailing list messages using the original "From" header.

To mitigate this problem, the original message has been wrapped
automatically by the mailing list software.
print_uint() will silently promote its variable type to uint64_t, but there
is nothing that ensures that the format string specifier passed along with
it fits (and the function name suggest to pass "%u").

Fix this by changing print_uint() to use a native 'unsigned int' type, and
introduce a separate print_u64() function for printing 64-bit values. All
call sites that were actually printing 64-bit values using print_uint() are
converted to use print_u64() instead.

Since print_int() was already using native int types, just add a
print_s64() to match, but don't convert any call sites.

Fixes wonkyness in some stats from some qdiscs under tc

Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
2018-05-07 08:09:05 +02:00
..
001-config.patch iproute2: bump to 4.13 2017-10-13 21:48:44 +02:00
002-json_print-fix-hidden-64-bit-type-promotion.patch iproute2: backport json_print-fix-hidden-64-bit-type-promotion 2018-05-07 08:09:05 +02:00
004-darwin_fixes.patch iproute2: bump to 4.13 2017-10-13 21:48:44 +02:00
007-no_arpd.patch iproute2: update to version 4.15.0 2018-02-15 23:31:23 +01:00
008-no_netem.patch iproute2: update to version 4.15.0 2018-02-15 23:31:23 +01:00
009-keep_libmnl_optional.patch iproute2: update to 4.16 2018-05-02 09:18:26 +02:00
100-allow_pfifo_fast.patch iproute2: bump to 4.11 2017-05-30 14:00:31 +02:00
110-extra-ccopts.patch iproute2: update to version 4.15.0 2018-02-15 23:31:23 +01:00
120-libnetlink-pic.patch iproute2: update to version 4.15.0 2018-02-15 23:31:23 +01:00
300-ip_tiny.patch iproute2: update to 4.16 2018-05-02 09:18:26 +02:00
900-drop_FAILED_POLICY.patch iproute2: update to version 4.15.0 2018-02-15 23:31:23 +01:00
950-add-cake-to-tc.patch iproute2: update to 4.16 2018-05-02 09:18:26 +02:00