sockopt: Rename SO_TIMESTAMP* to SO_TIMESTAMP*_OLD
SO_TIMESTAMP, SO_TIMESTAMPNS and SO_TIMESTAMPING options, the way they are currently defined, are not y2038 safe. Subsequent patches in the series add new y2038 safe versions of these options which provide 64 bit timestamps on all architectures uniformly. Hence, rename existing options with OLD tag suffixes. Also note that kernel will not use the untagged SO_TIMESTAMP* and SCM_TIMESTAMP* options internally anymore. Signed-off-by: Deepa Dinamani <deepa.kernel@gmail.com> Acked-by: Willem de Bruijn <willemb@google.com> Cc: deller@gmx.de Cc: dhowells@redhat.com Cc: jejb@parisc-linux.org Cc: ralf@linux-mips.org Cc: rth@twiddle.net Cc: linux-afs@lists.infradead.org Cc: linux-alpha@vger.kernel.org Cc: linux-arch@vger.kernel.org Cc: linux-mips@linux-mips.org Cc: linux-parisc@vger.kernel.org Cc: linux-rdma@vger.kernel.org Cc: sparclinux@vger.kernel.org Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
2edfd8e061
commit
7f1bc6e95d
@@ -430,7 +430,7 @@ static int rds_setsockopt(struct socket *sock, int level, int optname,
|
||||
ret = rds_set_transport(rs, optval, optlen);
|
||||
release_sock(sock->sk);
|
||||
break;
|
||||
case SO_TIMESTAMP:
|
||||
case SO_TIMESTAMP_OLD:
|
||||
lock_sock(sock->sk);
|
||||
ret = rds_enable_recvtstamp(sock->sk, optval, optlen);
|
||||
release_sock(sock->sk);
|
||||
|
Reference in New Issue
Block a user