[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20171226.172407.178317486298463341.davem@davemloft.net>
Date: Tue, 26 Dec 2017 17:24:07 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: mathew.j.martineau@...ux.intel.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH net-next] tcp: md5: Handle RCU dereference of
md5sig_info
From: Mat Martineau <mathew.j.martineau@...ux.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@...ux.intel.com>
Applied.
Powered by blists - more mailing lists