]> git.baikalelectronics.ru Git - kernel.git/commit
tls: Fill software context without allocation
authorBoris Pismenny <borisp@mellanox.com>
Fri, 13 Jul 2018 11:33:42 +0000 (14:33 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 16 Jul 2018 07:13:11 +0000 (00:13 -0700)
commitd09633cc904d6634e94351548ae7b9f28679311a
tree573b0b19fc4b734de7b150a28dfea81603f3b17a
parentdde77a003b7c8d6c409084f0546cc9d5b7bd62b8
tls: Fill software context without allocation

This patch allows tls_set_sw_offload to fill the context in case it was
already allocated previously.

We will use it in TLS_DEVICE to fill the RX software context.

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