]> git.baikalelectronics.ru Git - kernel.git/commit
tls: Split tls_sw_release_resources_rx
authorBoris Pismenny <borisp@mellanox.com>
Fri, 13 Jul 2018 11:33:41 +0000 (14:33 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 16 Jul 2018 07:13:11 +0000 (00:13 -0700)
commitdde77a003b7c8d6c409084f0546cc9d5b7bd62b8
tree465ee43d898f34004c3598b37c3ed6d4a9c12929
parent35241fe5851b1098b3e56910d90c576792660db8
tls: Split tls_sw_release_resources_rx

This patch splits tls_sw_release_resources_rx into two functions one
which releases all inner software tls structures and another that also
frees the containing structure.

In TLS_DEVICE we will need to release the software structures without
freeeing the containing structure, which contains other information.

Signed-off-by: Boris Pismenny <borisp@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/tls.h
net/tls/tls_sw.c