From: David Miller <davem@davemloft.net>
To: ahmad@a3f.at
Cc: netdev@vger.kernel.org
Subject: Re: [PATCH] net-next: Fix minor code bug in timestamping.txt
Date: Tue, 11 Jul 2017 13:35:14 -0700 (PDT) [thread overview]
Message-ID: <20170711.133514.1211086377571475842.davem@davemloft.net> (raw)
In-Reply-To: <20170708192844.70105-1-ahmad@a3f.at>
From: Ahmad Fatoum <ahmad@a3f.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@davemloft.net>
> Cc: netdev@vger.kernel.org
> Signed-off-by: Ahmad Fatoum <ahmad@a3f.at>
Applied.
prev parent reply other threads:[~2017-07-11 20:35 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-08 19:28 [PATCH] net-next: Fix minor code bug in timestamping.txt Ahmad Fatoum
2017-07-11 20:35 ` David Miller [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170711.133514.1211086377571475842.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=ahmad@a3f.at \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).