net/tls: build_protos moved to common routine
authorAtul Gupta <atul.gupta@chelsio.com>
Fri, 18 Jan 2019 04:55:53 +0000 (20:55 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 22 Jan 2019 19:30:54 +0000 (11:30 -0800)
commit63a6b3fee428aeb0288670fc061fa9559b5aca1b
tree5316d8b47a4733045ad0d73a3b336a2b0739f7a6
parent856c395cfa63b94a1d8215182f0243c222f6f927
net/tls: build_protos moved to common routine

build protos is required for tls_hw_prot also hence moved to
'tls_build_proto' and called as required from tls_init
and tls_hw_proto. This is required since build_protos
for v4 is moved from tls_register to tls_init in
commit <28cb6f1eaffdc5a6a9707cac55f4a43aa3fd7895>

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