[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1510561369-90592-1-git-send-email-ilyal@mellanox.com>
Date: Mon, 13 Nov 2017 10:22:43 +0200
From: Ilya Lesokhin <ilyal@...lanox.com>
To: netdev@...r.kernel.org, davem@...emloft.net
Cc: davejwatson@...com, Ilya Lesokhin <ilyal@...lanox.com>
Subject: [PATCH net 0/6] tls: Miscellaneous fixes
Here's a set of miscellaneous fix patches.
Patch 1 makes sure aead_request is initailized properly.
Patches 2-3 Fix a memory leak we've encountered.
patch 4 moves tls_make_aad to allow sharing it in the future.
Patch 5 fixes a TOCTOU issue reported here:
https://www.spinics.net/lists/kernel/msg2608603.html
Patch 6 Avoids callback overriding when tls_set_sw_offload fails.
Ilya Lesokhin (6):
tls: Use kzalloc for aead_request allocation
tls: Add function to update the TLS socket configuration
tls: Fix TLS ulp context leak, when TLS_TX setsockopt is not used.
tls: Move tls_make_aad to header to allow sharing
tls: Avoid copying crypto_info again after cipher_type check.
tls: don't override sk_write_space if tls_set_sw_offload fails.
include/net/tls.h | 19 ++++++++++-
net/tls/tls_main.c | 96 ++++++++++++++++++++++++++++++++----------------------
net/tls/tls_sw.c | 24 +++-----------
3 files changed, 79 insertions(+), 60 deletions(-)
--
1.8.3.1
Powered by blists - more mailing lists