From: Ilya Lesokhin
Date: Thu, 10 Aug 2017 13:33:16 +0300
> +#if IS_ENABLED(CONFIG_IPV6)
> + build_protos(tls_prots[TLSV6], &tcpv6_prot);
> +#endif
>
Have you tested this with CONFIG_TLS=m and CONFIG_IPV6=m?
I bet it doesn't link.
How about CONFIG_IPV6=m and CONFIG_TLS=y? That won't
wor
Hi Ilya,
[auto build test ERROR on net/master]
[also build test ERROR on v4.13-rc4 next-20170811]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system]
url:
https://github.com/0day-ci/linux/commits/Ilya-Lesokhin/ipv6-Prevent-unexpected-sk-sk_prot-
The code assumed that only IP version 4 TCP sk->sk_prot was
being used. Now it checks for IPV6 and sets sk->sk_prot
accordingly.
Signed-off-by: Boris Pismenny
Signed-off-by: Ilya Lesokhin
---
net/tls/tls_main.c | 61 +++---
1 file changed, 49 inse