Re: [PATCH 1/3] tls: retrun the correct IV in getsockopt

2018-02-14 Thread David Miller
From: Boris Pismenny Date: Wed, 14 Feb 2018 10:46:06 +0200 > Current code returns four bytes of salt followed by four bytes of IV. > This patch returns all eight bytes of IV. > > fixes: 3c4d7559159b ("tls: kernel TLS support") > Signed-off-by: Boris Pismenny Applied.

[PATCH 1/3] tls: retrun the correct IV in getsockopt

2018-02-14 Thread Boris Pismenny
Current code returns four bytes of salt followed by four bytes of IV. This patch returns all eight bytes of IV. fixes: 3c4d7559159b ("tls: kernel TLS support") Signed-off-by: Boris Pismenny --- net/tls/tls_main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/net/tls/tls_m