summaryrefslogtreecommitdiffstats
path: root/include/net/tls.h
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-12-21 10:46:08 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-12-21 10:46:08 -0500
commitcd6a22310ec2a70092e136d0cd65bb77c1502521 (patch)
treec01fa788b27b240c7b426d7f329d92bd58c7b8f5 /include/net/tls.h
parent1e12a521d6917004f8b95a3b5864b92edc2694c8 (diff)
parent177c459b08a34dcf004aa9a4c1f1d8be682ff3af (diff)
Merge USB 4.20-rc8 mergepoint into usb-next
We need the USB changes in here for additional patches to be able to apply cleanly. Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/net/tls.h')
-rw-r--r--include/net/tls.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/net/tls.h b/include/net/tls.h
index bab5627ff5e3..3cbcd12303fd 100644
--- a/include/net/tls.h
+++ b/include/net/tls.h
@@ -76,6 +76,10 @@
76 * 76 *
77 * void (*unhash)(struct tls_device *device, struct sock *sk); 77 * void (*unhash)(struct tls_device *device, struct sock *sk);
78 * This function cleans listen state set by Inline TLS driver 78 * This function cleans listen state set by Inline TLS driver
79 *
80 * void (*release)(struct kref *kref);
81 * Release the registered device and allocated resources
82 * @kref: Number of reference to tls_device
79 */ 83 */
80struct tls_device { 84struct tls_device {
81 char name[TLS_DEVICE_NAME_MAX]; 85 char name[TLS_DEVICE_NAME_MAX];
@@ -83,6 +87,8 @@ struct tls_device {
83 int (*feature)(struct tls_device *device); 87 int (*feature)(struct tls_device *device);
84 int (*hash)(struct tls_device *device, struct sock *sk); 88 int (*hash)(struct tls_device *device, struct sock *sk);
85 void (*unhash)(struct tls_device *device, struct sock *sk); 89 void (*unhash)(struct tls_device *device, struct sock *sk);
90 void (*release)(struct kref *kref);
91 struct kref kref;
86}; 92};
87 93
88enum { 94enum {