mirror of
https://git.proxmox.com/git/mirror_iproute2
synced 2025-12-31 13:28:32 +00:00
ss: correct display of sk pointer
On 64bit arches, sk pointer was 32/32 reversed. Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
This commit is contained in:
parent
f40554f687
commit
bbe3205336
@ -1393,9 +1393,10 @@ static int tcp_show_sock(struct nlmsghdr *nlh, struct filter *f)
|
||||
if (r->idiag_uid)
|
||||
printf(" uid:%u", (unsigned)r->idiag_uid);
|
||||
printf(" ino:%u", r->idiag_inode);
|
||||
printf(" sk:%08x", r->id.idiag_cookie[0]);
|
||||
printf(" sk:");
|
||||
if (r->id.idiag_cookie[1] != 0)
|
||||
printf("%08x", r->id.idiag_cookie[1]);
|
||||
printf("%08x", r->id.idiag_cookie[0]);
|
||||
}
|
||||
if (show_mem || show_tcpinfo) {
|
||||
printf("\n\t");
|
||||
|
||||
Loading…
Reference in New Issue
Block a user