]> 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)
commit3217c1f64d5ddfb5ff66d21172ea6ba07e698894
tree465ee43d898f34004c3598b37c3ed6d4a9c12929
parent49b32e2c99ad7ba5664b24cca11c05bdcbe5f2bd
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