summaryrefslogtreecommitdiff
path: root/include/net/tls.h
diff options
context:
space:
mode:
authorRandy Dunlap <rdunlap@infradead.org>2020-10-09 08:49:00 +0300
committerJakub Kicinski <kuba@kernel.org>2020-10-10 02:49:57 +0300
commit923527dcb4d164925a2fed0b53c6a1625a60a472 (patch)
tree9bc94c804b5a80667c18422a3b5475ee47bf49b5 /include/net/tls.h
parentea1dd3e9d080c961b9a451130b61c72dc9a5397b (diff)
downloadlinux-923527dcb4d164925a2fed0b53c6a1625a60a472.tar.xz
net/tls: remove a duplicate function prototype
Remove one of the two instances of the function prototype for tls_validate_xmit_skb(). Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Cc: Boris Pismenny <borisp@nvidia.com> Cc: Aviad Yehezkel <aviadye@nvidia.com> Cc: John Fastabend <john.fastabend@gmail.com> Cc: Daniel Borkmann <daniel@iogearbox.net> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/net/tls.h')
-rw-r--r--include/net/tls.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/net/tls.h b/include/net/tls.h
index e5dac7e74e79..baf1e99d8193 100644
--- a/include/net/tls.h
+++ b/include/net/tls.h
@@ -679,10 +679,6 @@ int decrypt_skb(struct sock *sk, struct sk_buff *skb,
struct scatterlist *sgout);
struct sk_buff *tls_encrypt_skb(struct sk_buff *skb);
-struct sk_buff *tls_validate_xmit_skb(struct sock *sk,
- struct net_device *dev,
- struct sk_buff *skb);
-
int tls_sw_fallback_init(struct sock *sk,
struct tls_offload_context_tx *offload_ctx,
struct tls_crypto_info *crypto_info);