The tls ulp overrides sk->prot with a new tls specific proto structs.
The tls specific structs were previously based on the ipv4 specific
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 structs and uses them when
attached to ipv6 sockets.
Fixes: 3c4d7559 ('tls: kernel TLS support')
Signed-off-by: Boris Pismenny <firstname.lastname@example.org>
Signed-off-by: Ilya Lesokhin <email@example.com>
Signed-off-by: David S. Miller <firstname.lastname@example.org>