Skip to content

Commit

Permalink
Merge pull request iovisor#1965 from myllynen/tcpretrans-pid
Browse files Browse the repository at this point in the history
tcpretrans: use user-space PID displayed to the user
  • Loading branch information
palmtenor committed Sep 10, 2018
2 parents 8cc0bda + a77a254 commit 6b208d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/tcpretrans.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@
{
if (skp == NULL)
return 0;
u32 pid = bpf_get_current_pid_tgid();
u32 pid = bpf_get_current_pid_tgid() >> 32;
// pull in details
u16 family = skp->__sk_common.skc_family;
Expand Down

0 comments on commit 6b208d9

Please sign in to comment.