From: Frank Dressler 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 Signed-off-by: Stephen Hemminger --- v2 - handle post ss split up ss/sock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ss/sock.c b/ss/sock.c index ca243f18..879af555 100644 --- a/ss/sock.c +++ b/ss/sock.c @@ -12,7 +12,7 @@ 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]; } static const char *unix_netid_name(int type) -- 2.53.0