]> 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)
commit984bbd1fdc6b2e7040c170b0d302b83b316e4916
tree573b0b19fc4b734de7b150a28dfea81603f3b17a
parent3217c1f64d5ddfb5ff66d21172ea6ba07e698894
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