summaryrefslogtreecommitdiffstats
path: root/net/ipv6/ip6_gre.c
diff options
context:
space:
mode:
authorMat Martineau <mathew.j.martineau@linux.intel.com>2017-12-21 10:29:10 -0800
committerDavid S. Miller <davem@davemloft.net>2017-12-26 17:23:50 -0500
commitfb7df5e4000a6bc19e350a00a93b16c602bd2dd8 (patch)
tree7c25fb9f884c1df909e4877bff6724606e0ecc58 /net/ipv6/ip6_gre.c
parent595476cb67333e2498ee41de11ac37f05957062b (diff)
downloadlinux-fb7df5e4000a6bc19e350a00a93b16c602bd2dd8.tar.gz
linux-fb7df5e4000a6bc19e350a00a93b16c602bd2dd8.tar.bz2
linux-fb7df5e4000a6bc19e350a00a93b16c602bd2dd8.zip
tcp: md5: Handle RCU dereference of md5sig_info
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> Acked-by: Christoph Paasch <cpaasch@apple.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/ip6_gre.c')
0 files changed, 0 insertions, 0 deletions