From: David Miller <davem@davemloft.net>
To: mathew.j.martineau@linux.intel.com
Cc: netdev@vger.kernel.org
Subject: Re: [PATCH net-next] tcp: md5: Handle RCU dereference of md5sig_info
Date: Tue, 26 Dec 2017 17:24:07 -0500 (EST) [thread overview]
Message-ID: <20171226.172407.178317486298463341.davem@davemloft.net> (raw)
In-Reply-To: <20171221182910.4785-2-mathew.j.martineau@linux.intel.com>
From: Mat Martineau <mathew.j.martineau@linux.intel.com>
Date: Thu, 21 Dec 2017 10:29:10 -0800
> Dereference tp->md5sig_info in tcp_v4_destroy_sock() the same way it is
> done in the adjacent call to tcp_clear_md5_list().
>
> Resolves this sparse warning:
>
> net/ipv4/tcp_ipv4.c:1914:17: warning: incorrect type in argument 1 (different address spaces)
> net/ipv4/tcp_ipv4.c:1914:17: expected struct callback_head *head
> net/ipv4/tcp_ipv4.c:1914:17: got struct callback_head [noderef] <asn:4>*<noident>
>
> Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Applied.
next prev parent reply other threads:[~2017-12-26 22:24 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-12-21 18:29 [PATCH net] tcp: Avoid preprocessor directives in tracepoint macro args Mat Martineau
2017-12-21 18:29 ` [PATCH net-next] tcp: md5: Handle RCU dereference of md5sig_info Mat Martineau
2017-12-21 22:13 ` Christoph Paasch
2017-12-26 22:24 ` David Miller [this message]
2017-12-26 22:25 ` [PATCH net] tcp: Avoid preprocessor directives in tracepoint macro args David Miller
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=20171226.172407.178317486298463341.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=mathew.j.martineau@linux.intel.com \
--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