summaryrefslogtreecommitdiffstats
path: root/net/tls/tls_proc.c
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2022-07-08 03:03:13 +0200
committerJakub Kicinski <kuba@kernel.org>2022-07-09 03:38:45 +0200
commit5879031423089b2e19b769f30fc618af742264c3 (patch)
treea5dc1560ed7e005dedffe1589cdb183fe6d162ed /net/tls/tls_proc.c
parenttls: rx: coalesce exit paths in tls_decrypt_sg() (diff)
downloadlinux-5879031423089b2e19b769f30fc618af742264c3.tar.xz
linux-5879031423089b2e19b769f30fc618af742264c3.zip
tls: create an internal header
include/net/tls.h is getting a little long, and is probably hard for driver authors to navigate. Split out the internals into a header which will live under net/tls/. While at it move some static inlines with a single user into the source files, add a few tls_ prefixes and fix spelling of 'proccess'. Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/tls/tls_proc.c')
-rw-r--r--net/tls/tls_proc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/tls/tls_proc.c b/net/tls/tls_proc.c
index 0c200000cc45..1246e52b48f6 100644
--- a/net/tls/tls_proc.c
+++ b/net/tls/tls_proc.c
@@ -6,6 +6,8 @@
#include <net/snmp.h>
#include <net/tls.h>
+#include "tls.h"
+
#ifdef CONFIG_PROC_FS
static const struct snmp_mib tls_mib_list[] = {
SNMP_MIB_ITEM("TlsCurrTxSw", LINUX_MIB_TLSCURRTXSW),