Re: [PATCH v4 net] tls: Use correct sk->sk_prot for IPV6

2018-02-27 Thread David Miller
From: Boris Pismenny Date: Tue, 27 Feb 2018 14:18:39 +0200 > The tls ulp overrides sk->prot with a new tls specific proto structs. > The tls specific structs were previously based on the ipv4 specific > tcp_prot sturct. > As a result, attaching the tls ulp to an ipv6 tcp socket replaced > some ip

[PATCH v4 net] tls: Use correct sk->sk_prot for IPV6

2018-02-27 Thread Boris Pismenny
The tls ulp overrides sk->prot with a new tls specific proto structs. The tls specific structs were previously based on the ipv4 specific tcp_prot sturct. As a result, attaching the tls ulp to an ipv6 tcp socket replaced some ipv6 callback with the ipv4 equivalents. This patch adds ipv6 tls proto