aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_bpf.c
diff options
context:
space:
mode:
authorCong Wang <[email protected]>2021-03-31 02:32:28 +0000
committerAlexei Starovoitov <[email protected]>2021-04-01 17:56:13 +0000
commit2004fdbd8a2b56757691717639f86d0eea3ab5b4 (patch)
tree74cf7c76ec5d7430e9666b9971a348afdfb7367b /net/ipv4/tcp_bpf.c
parentskmsg: Use GFP_KERNEL in sk_psock_create_ingress_msg() (diff)
downloadkernel-2004fdbd8a2b56757691717639f86d0eea3ab5b4.tar.gz
kernel-2004fdbd8a2b56757691717639f86d0eea3ab5b4.zip
sock_map: Simplify sock_map_link() a bit
sock_map_link() passes down map progs, but it is confusing to see both map progs and psock progs. Make the map progs more obvious by retrieving it directly with sock_map_progs() inside sock_map_link(). Now it is aligned with sock_map_link_no_progs() too. Signed-off-by: Cong Wang <[email protected]> Signed-off-by: Alexei Starovoitov <[email protected]> Acked-by: John Fastabend <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'net/ipv4/tcp_bpf.c')
0 files changed, 0 insertions, 0 deletions