diff for duplicates of <20190108032657.8331-3-deepa.kernel@gmail.com> diff --git a/a/1.txt b/N1/1.txt index fb8a1ef..2a936d8 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -286,19 +286,19 @@ index c3a2f868e8af..ad24c1c0f0a1 100644 } if (!COMPAT_USE_64BIT_TIME) { -- if (level == SOL_SOCKET && type == SCM_TIMESTAMP) { -+ if (level == SOL_SOCKET && type == SO_TIMESTAMP_OLD) { +- if (level = SOL_SOCKET && type = SCM_TIMESTAMP) { ++ if (level = SOL_SOCKET && type = SO_TIMESTAMP_OLD) { struct timeval *tv = (struct timeval *)data; ctv.tv_sec = tv->tv_sec; ctv.tv_usec = tv->tv_usec; @@ -227,8 +227,8 @@ int put_cmsg_compat(struct msghdr *kmsg, int level, int type, int len, void *dat len = sizeof(ctv); } - if (level == SOL_SOCKET && -- (type == SCM_TIMESTAMPNS || type == SCM_TIMESTAMPING)) { -- int count = type == SCM_TIMESTAMPNS ? 1 : 3; -+ (type == SO_TIMESTAMPNS_OLD || type == SO_TIMESTAMPING_OLD)) { -+ int count = type == SO_TIMESTAMPNS_OLD ? 1 : 3; + if (level = SOL_SOCKET && +- (type = SCM_TIMESTAMPNS || type = SCM_TIMESTAMPING)) { +- int count = type = SCM_TIMESTAMPNS ? 1 : 3; ++ (type = SO_TIMESTAMPNS_OLD || type = SO_TIMESTAMPING_OLD)) { ++ int count = type = SO_TIMESTAMPNS_OLD ? 1 : 3; int i; struct timespec *ts = (struct timespec *)data; for (i = 0; i < count; i++) { @@ -315,8 +315,8 @@ index 6aa2e7e0b4fb..492a8407130a 100644 + case SO_TIMESTAMP_OLD: + case SO_TIMESTAMPNS_OLD: if (valbool) { -- if (optname == SO_TIMESTAMP) -+ if (optname == SO_TIMESTAMP_OLD) +- if (optname = SO_TIMESTAMP) ++ if (optname = SO_TIMESTAMP_OLD) sock_reset_flag(sk, SOCK_RCVTSTAMPNS); else sock_set_flag(sk, SOCK_RCVTSTAMPNS); diff --git a/a/content_digest b/N1/content_digest index 00a792f..0057574 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,7 +1,7 @@ "ref\020190108032657.8331-1-deepa.kernel@gmail.com\0" "From\0Deepa Dinamani <deepa.kernel@gmail.com>\0" "Subject\0[PATCH v3 2/8] sockopt: Rename SO_TIMESTAMP* to SO_TIMESTAMP*_OLD\0" - "Date\0Mon, 7 Jan 2019 19:26:51 -0800\0" + "Date\0Tue, 08 Jan 2019 03:26:51 +0000\0" "To\0davem@davemloft.net" " linux-kernel@vger.kernel.org\0" "Cc\0netdev@vger.kernel.org" @@ -309,19 +309,19 @@ " \t}\n" " \n" " \tif (!COMPAT_USE_64BIT_TIME) {\n" - "-\t\tif (level == SOL_SOCKET && type == SCM_TIMESTAMP) {\n" - "+\t\tif (level == SOL_SOCKET && type == SO_TIMESTAMP_OLD) {\n" + "-\t\tif (level = SOL_SOCKET && type = SCM_TIMESTAMP) {\n" + "+\t\tif (level = SOL_SOCKET && type = SO_TIMESTAMP_OLD) {\n" " \t\t\tstruct timeval *tv = (struct timeval *)data;\n" " \t\t\tctv.tv_sec = tv->tv_sec;\n" " \t\t\tctv.tv_usec = tv->tv_usec;\n" "@@ -227,8 +227,8 @@ int put_cmsg_compat(struct msghdr *kmsg, int level, int type, int len, void *dat\n" " \t\t\tlen = sizeof(ctv);\n" " \t\t}\n" - " \t\tif (level == SOL_SOCKET &&\n" - "-\t\t (type == SCM_TIMESTAMPNS || type == SCM_TIMESTAMPING)) {\n" - "-\t\t\tint count = type == SCM_TIMESTAMPNS ? 1 : 3;\n" - "+\t\t (type == SO_TIMESTAMPNS_OLD || type == SO_TIMESTAMPING_OLD)) {\n" - "+\t\t\tint count = type == SO_TIMESTAMPNS_OLD ? 1 : 3;\n" + " \t\tif (level = SOL_SOCKET &&\n" + "-\t\t (type = SCM_TIMESTAMPNS || type = SCM_TIMESTAMPING)) {\n" + "-\t\t\tint count = type = SCM_TIMESTAMPNS ? 1 : 3;\n" + "+\t\t (type = SO_TIMESTAMPNS_OLD || type = SO_TIMESTAMPING_OLD)) {\n" + "+\t\t\tint count = type = SO_TIMESTAMPNS_OLD ? 1 : 3;\n" " \t\t\tint i;\n" " \t\t\tstruct timespec *ts = (struct timespec *)data;\n" " \t\t\tfor (i = 0; i < count; i++) {\n" @@ -338,8 +338,8 @@ "+\tcase SO_TIMESTAMP_OLD:\n" "+\tcase SO_TIMESTAMPNS_OLD:\n" " \t\tif (valbool) {\n" - "-\t\t\tif (optname == SO_TIMESTAMP)\n" - "+\t\t\tif (optname == SO_TIMESTAMP_OLD)\n" + "-\t\t\tif (optname = SO_TIMESTAMP)\n" + "+\t\t\tif (optname = SO_TIMESTAMP_OLD)\n" " \t\t\t\tsock_reset_flag(sk, SOCK_RCVTSTAMPNS);\n" " \t\t\telse\n" " \t\t\t\tsock_set_flag(sk, SOCK_RCVTSTAMPNS);\n" @@ -489,4 +489,4 @@ "-- \n" 2.17.1 -7c782cf06c2fdd531a253e3299c62d5ca1e77fa15e3b3b9b7aff5abab731f1a4 +efc680b86ff1573f12d80d12905b37cdccb50b2e0c555d012f32bc25eb177e36
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.