]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
net: Rename ->stream_memory_read to ->sock_is_readable
authorCong Wang <cong.wang@bytedance.com>
Fri, 8 Oct 2021 20:33:03 +0000 (13:33 -0700)
committerAlexei Starovoitov <ast@kernel.org>
Tue, 26 Oct 2021 19:29:33 +0000 (12:29 -0700)
commit7b50ecfcc6cdfe87488576bc3ed443dc8d083b90
tree0851392dcfe34a0f7812e4e1a39c8a972d89fa80
parentcd9733f5d75c94a32544d6ce5be47e14194cf137
net: Rename ->stream_memory_read to ->sock_is_readable

The proto ops ->stream_memory_read() is currently only used
by TCP to check whether psock queue is empty or not. We need
to rename it before reusing it for non-TCP protocols, and
adjust the exsiting users accordingly.

Signed-off-by: Cong Wang <cong.wang@bytedance.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20211008203306.37525-2-xiyou.wangcong@gmail.com
include/net/sock.h
include/net/tls.h
net/ipv4/tcp.c
net/ipv4/tcp_bpf.c
net/tls/tls_main.c
net/tls/tls_sw.c