Re: [PATCH V6 net-next 08/15] net/tls: Support TLS device offload with IPv6

2018-04-23 Thread David Miller
From: Boris Pismenny Date: Sun, 22 Apr 2018 18:19:50 +0300 > @@ -97,13 +102,57 @@ static void tls_device_queue_ctx_destruction(struct > tls_context *ctx) > spin_unlock_irqrestore(&tls_device_lock, flags); > } > > +#if IS_ENABLED(CONFIG_IPV6) > +static struct net_device *ipv6_get_netdev(

[PATCH V6 net-next 08/15] net/tls: Support TLS device offload with IPv6

2018-04-22 Thread Boris Pismenny
From: Ilya Lesokhin Previously get_netdev_for_sock worked only with IPv4. Signed-off-by: Ilya Lesokhin Signed-off-by: Boris Pismenny --- net/tls/tls_device.c | 51 ++- 1 file changed, 50 insertions(+), 1 deletion(-) diff --git a/net/tls/tls_dev