commit | 5e34fa23ced16f03fe163d3f31fddcae91c3f2fc | [log] [tgz] |
---|---|---|
author | Ahmad Fatoum <ahmad@a3f.at> | Sat Jul 08 21:28:44 2017 +0200 |
committer | David S. Miller <davem@davemloft.net> | Tue Jul 11 13:34:54 2017 -0700 |
tree | c5e742e1695d69a338cc34a33364ed70e2371683 | |
parent | f4e27944f9cf9a94dd9b37a834512586c1f1a5d2 [diff] |
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: Ahmad Fatoum <ahmad@a3f.at> Signed-off-by: David S. Miller <davem@davemloft.net>