[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20170711.133514.1211086377571475842.davem@davemloft.net>
Date: Tue, 11 Jul 2017 13:35:14 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: ahmad@....at
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH] net-next: Fix minor code bug in timestamping.txt
From: Ahmad Fatoum <ahmad@....at>
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 <davem@...emloft.net>
> Cc: netdev@...r.kernel.org
> Signed-off-by: Ahmad Fatoum <ahmad@....at>
Applied.
Powered by blists - more mailing lists