diff options
| author | Christoph Hellwig <[email protected]> | 2020-07-23 06:09:05 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2020-07-24 22:41:54 +0000 |
| commit | d4c19c49142ddb2efcc34cff6379d03edb3553bd (patch) | |
| tree | b2d7faa45b3f155fc08a2861ae80abfe7251efcd /include/net/tcp.h | |
| parent | net/udp: switch udp_lib_setsockopt to sockptr_t (diff) | |
| download | kernel-d4c19c49142ddb2efcc34cff6379d03edb3553bd.tar.gz kernel-d4c19c49142ddb2efcc34cff6379d03edb3553bd.zip | |
net/tcp: switch ->md5_parse to sockptr_t
Pass a sockptr_t to prepare for set_fs-less handling of the kernel
pointer from bpf-cgroup.
Signed-off-by: Christoph Hellwig <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'include/net/tcp.h')
| -rw-r--r-- | include/net/tcp.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/tcp.h b/include/net/tcp.h index 9f7f7c0c1104..e3c8e1d82021 100644 --- a/include/net/tcp.h +++ b/include/net/tcp.h @@ -2002,7 +2002,7 @@ struct tcp_sock_af_ops { const struct sk_buff *skb); int (*md5_parse)(struct sock *sk, int optname, - char __user *optval, + sockptr_t optval, int optlen); #endif }; |
