diff options
author | Christoph Hellwig <hch@lst.de> | 2020-07-23 09:09:05 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-07-25 01:41:54 +0300 |
commit | d4c19c49142ddb2efcc34cff6379d03edb3553bd (patch) | |
tree | b2d7faa45b3f155fc08a2861ae80abfe7251efcd /include | |
parent | 91ac1ccaff597d06b1e16801e1a4c99b8a78dcbe (diff) | |
download | linux-d4c19c49142ddb2efcc34cff6379d03edb3553bd.tar.xz |
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 <hch@lst.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-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 }; |