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

Reply via email to