Partially revert "net: socket: implement 64-bit timestamps"
authorBen Hutchings <ben@decadent.org.uk>
Tue, 20 Aug 2019 17:12:35 +0000 (18:12 +0100)
committerSalvatore Bonaccorso <carnil@debian.org>
Fri, 21 Oct 2022 20:24:21 +0000 (21:24 +0100)
commit13857295a0c5c2e2bb97a246563841052e15e596
tree7dad3ea4574561495683f10ebe1255ea3e124f1d
parentc648f29e2e24568fd6205359ba3e0880819fee99
Partially revert "net: socket: implement 64-bit timestamps"

The introduction of SIOCGSTAMP{,NS}_OLD and move of SICOGSTAMP{,NS} to
a different header has caused build failures for various user-space
programs including qemu and suricata.  It also causes a test failure
for glibc.

For now, remove the _OLD suffix on the old ioctl numbers and require
programs using 64-bit timestamps to explicitly use SIOCGSTAMP{,NS}_NEW.

References: https://lore.kernel.org/lkml/af0eb47a-5b98-1bd9-3e8d-652e7f28b01f@de.ibm.com/
References: https://bugs.debian.org/934316
References: https://ci.debian.net/data/autopkgtest/testing/amd64/g/glibc/2772289/log.gz
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Gbp-Pq: Topic bugfix/all
Gbp-Pq: Name partially-revert-net-socket-implement-64-bit-timestamps.patch
arch/alpha/include/uapi/asm/sockios.h
arch/mips/include/uapi/asm/sockios.h
arch/sh/include/uapi/asm/sockios.h
arch/xtensa/include/uapi/asm/sockios.h
include/uapi/asm-generic/sockios.h
include/uapi/linux/sockios.h
net/socket.c