From: Ahmad Fatoum <[email protected]>
Date: Sat,  8 Jul 2017 21:28:44 +0200

> 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 <[email protected]>
> Cc: [email protected]
> Signed-off-by: Ahmad Fatoum <[email protected]>

Applied.

Reply via email to