Merge branch 'tls-misc-fixes'
authorDavid S. Miller <davem@davemloft.net>
Tue, 14 Nov 2017 07:26:35 +0000 (16:26 +0900)
committerDavid S. Miller <davem@davemloft.net>
Tue, 14 Nov 2017 07:26:35 +0000 (16:26 +0900)
commit951b7966959fde507e1718627b37795f40b704f4
treed0d4e6feae47f3b33d9f2672ba4828a63364ea6e
parent0a87bc2e58a687fe14817b9c7f73e68570ba33c6
parentee181e5201e640a4b92b217e9eab2531dab57d2c
Merge branch 'tls-misc-fixes'

Ilya Lesokhin says:

====================
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.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>