net/tls: Init routines in create_ctx
authorAtul Gupta <atul.gupta@chelsio.com>
Tue, 11 Dec 2018 10:19:40 +0000 (02:19 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 13 Jan 2019 08:51:00 +0000 (09:51 +0100)
commit997cb5039dba909f06d70797981e67c7c197d5b9
tree517c4b91340d80f7c0120753d696a0c810845370
parent7a2b5258682f316c9979ade832acdf20645e505f
net/tls: Init routines in create_ctx

[ Upstream commit 6c0563e442528733219afe15c749eb2cc365da3f ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
net/tls/tls_main.c