net/tls: Init routines in create_ctx
authorAtul Gupta <atul.gupta@chelsio.com>
Tue, 11 Dec 2018 10:19:40 +0000 (02:19 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 14 Dec 2018 21:39:39 +0000 (13:39 -0800)
commit6c0563e442528733219afe15c749eb2cc365da3f
treee767c08bb65072e8c4fee7dd9614077439443d01
parent2ab4c3426c0cf711d7147e3f559638e4ab88960e
net/tls: Init routines in create_ctx

create_ctx is called from tls_init and tls_hw_prot
hence initialize function pointers in common routine.

Signed-off-by: Atul Gupta <atul.gupta@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/tls/tls_main.c