The split shift was necessary only while the code used unsigned long. 2e7e805d0aac ("ss: better 32bit support") changed it to unsigned long long. Signed-off-by: Frank Dressler --- misc/ss.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/ss.c b/misc/ss.c index f4160f59b1ea..5107d42ac229 100644 --- a/misc/ss.c +++ b/misc/ss.c @@ -795,7 +795,7 @@ next: static unsigned long long cookie_sk_get(const uint32_t *cookie) { - return (((unsigned long long)cookie[1] << 31) << 1) | cookie[0]; + return ((unsigned long long)cookie[1] << 32) | cookie[0]; } /* Names indexed by a value from the kernel, which may be out of range */ base-commit: 9eee7bb80f98a0789639ccdb0d68a667962e16d6 -- 2.56.1