diff options
author | Daniel Borkmann <daniel@iogearbox.net> | 2018-10-20 20:09:23 -0400 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2018-10-21 02:13:32 -0400 |
commit | c16ee04c9b305d57719344922c4d48379e206a79 (patch) | |
tree | a091cc2a758e0c9eda5aef6bdf96ae3214e30544 /include/net/tcp.h | |
parent | 2576b96757e481fb40f097517763ccf75f935037 (diff) |
ulp: remove uid and user_visible members
They are not used anymore and therefore should be removed.
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'include/net/tcp.h')
-rw-r--r-- | include/net/tcp.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/include/net/tcp.h b/include/net/tcp.h index 14fdd7ce9992..8a61c3e8c15d 100644 --- a/include/net/tcp.h +++ b/include/net/tcp.h | |||
@@ -2051,11 +2051,6 @@ enum hrtimer_restart tcp_pace_kick(struct hrtimer *timer); | |||
2051 | #define TCP_ULP_MAX 128 | 2051 | #define TCP_ULP_MAX 128 |
2052 | #define TCP_ULP_BUF_MAX (TCP_ULP_NAME_MAX*TCP_ULP_MAX) | 2052 | #define TCP_ULP_BUF_MAX (TCP_ULP_NAME_MAX*TCP_ULP_MAX) |
2053 | 2053 | ||
2054 | enum { | ||
2055 | TCP_ULP_TLS, | ||
2056 | TCP_ULP_BPF, | ||
2057 | }; | ||
2058 | |||
2059 | struct tcp_ulp_ops { | 2054 | struct tcp_ulp_ops { |
2060 | struct list_head list; | 2055 | struct list_head list; |
2061 | 2056 | ||
@@ -2064,9 +2059,7 @@ struct tcp_ulp_ops { | |||
2064 | /* cleanup ulp */ | 2059 | /* cleanup ulp */ |
2065 | void (*release)(struct sock *sk); | 2060 | void (*release)(struct sock *sk); |
2066 | 2061 | ||
2067 | int uid; | ||
2068 | char name[TCP_ULP_NAME_MAX]; | 2062 | char name[TCP_ULP_NAME_MAX]; |
2069 | bool user_visible; | ||
2070 | struct module *owner; | 2063 | struct module *owner; |
2071 | }; | 2064 | }; |
2072 | int tcp_register_ulp(struct tcp_ulp_ops *type); | 2065 | int tcp_register_ulp(struct tcp_ulp_ops *type); |