Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 5e34fa23 authored by Ahmad Fatoum's avatar Ahmad Fatoum Committed by David S. Miller
Browse files

net: Fix minor code bug in timestamping.txt



Passing (void*)val instead of &val would make a pointer out of an integer
and cause sock_setsockopt to -EFAULT.

See tools/testing/selftests/networking/timestamping/timestamping.c
for a working example.

Cc: David S. Miller <davem@davemloft.net>
Cc: netdev@vger.kernel.org
Signed-off-by: default avatarAhmad Fatoum <ahmad@a3f.at>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent f4e27944
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment