summaryrefslogtreecommitdiffstats
path: root/net/core/sock_map.c
AgeCommit message (Expand)AuthorLines
2025-07-11bpf: Remove attach_type in sockmap_linkTao Chen-6/+4
2025-07-11bpf: Add attach_type field to bpf_linkTao Chen-1/+2
2025-02-20Merge tag 'bpf-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpfLinus Torvalds-1/+4
2025-02-18sockmap, vsock: For connectible sockets allow only connectedMichal Luczaj-0/+3
2025-01-29bpf: Disable non stream socket for strparserJiayuan Chen-1/+4
2024-12-10bpf, sockmap: Fix race between element replace and close()Michal Luczaj-3/+2
2024-12-10bpf, sockmap: Fix update element with sameMichal Luczaj-0/+1
2024-10-28sock_map: fix a NULL pointer dereference in sock_map_link_update_prog()Cong Wang-0/+4
2024-10-17bpf, sockmap: SK_DROP on attempted redirects of unsupported af_vsockMichal Luczaj-0/+8
2024-09-24Merge tag 'bpf-next-6.12-struct-fd' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds-17/+6
2024-09-11sock_map: Add a cond_resched() in sock_hash_free()Eric Dumazet-0/+1
2024-08-13bpf: switch maps to CLASS(fd, ...)Al Viro-17/+6
2024-05-28sock_map: avoid race between sock_map_close and sk_psock_putThadeu Lima de Souza Cascardo-6/+10
2024-05-27Revert "bpf, sockmap: Prevent lock inversion deadlock in map delete elem"Jakub Sitnicki-6/+0
2024-04-29Merge tag 'for-netdev' of https://git.kernel.org/pub/scm/linux/kernel/git/bpf...Jakub Kicinski-16/+247
2024-04-10bpf: Add bpf_link support for sk_msg and sk_skb progsYonghong Song-16/+247
2024-04-02bpf, sockmap: Prevent lock inversion deadlock in map delete elemJakub Sitnicki-0/+6
2023-12-13bpf: syzkaller found null ptr deref in unix_bpf proto addJohn Fastabend-0/+2
2023-09-29bpf, sockmap: Reject sk_msg egress redirects to non-TCP socketsJakub Sitnicki-0/+4
2023-08-30bpf, sockmap: Fix preempt_rt splat when using raw_spin_lock_tJohn Fastabend-18/+18
2023-08-09bpf, sockmap: Fix map type error in sock_map_del_linkXu Kuohai-5/+5
2023-08-01bpf: sockmap: Remove preempt_disable in sock_map_sk_acquireTomas Glozar-2/+0
2023-06-19bpf: Centralize permissions checks for all BPF map typesAndrii Nakryiko-4/+0
2023-05-23bpf, sockmap: Convert schedule_work into delayed_workJohn Fastabend-1/+2
2023-04-13bpf, sockmap: Revert buggy deadlock fix in the sockhash and sockmapDaniel Borkmann-6/+4
2023-04-12bpf, sockmap: fix deadlocks in the sockhash and sockmapXin Liu-4/+6
2023-03-22bpf: return long from bpf_map_ops funcsJP Kobryn-4/+4
2023-03-07bpf, net: sock_map memory usageYafang Shao-0/+20
2023-01-24bpf, sockmap: Don't let sock_map_{close,destroy,unhash} call itselfJakub Sitnicki-27/+34
2022-12-04bpf, sockmap: fix race in sock_map_free()Eric Dumazet-0/+2
2022-11-03bpf, sock_map: Move cancel_work_sync() out of sock lockCong Wang-3/+4
2022-08-17Merge https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextJakub Kicinski-6/+6
2022-08-10bpf: Use bpf_map_area_alloc consistently on bpf map creationYafang Shao-6/+6
2022-08-10bpf: Make __GFP_NOWARN consistent in bpf map creationYafang Shao-2/+2
2022-08-10bpf: Acquire map uref in .init_seq_private for sock{map,hash} iteratorHou Tao-1/+19
2022-06-28bpf: Fix sockmap calling sleepable function in teardown pathJohn Fastabend-1/+1
2022-06-02bpf, sockmap: Fix sk->sk_forward_alloc warn_on in sk_stream_kill_queuesWang Yufen-0/+23
2022-04-26bpf: Compute map_btf_id during build timeMenglong Dong-6/+4
2022-01-20bpf: support BPF_PROG_QUERY for progs attached to sockmapDi Zhu-7/+70
2022-01-05bpf, sockmap: Fix double bpf_prog_put on error case in map_linkJohn Fastabend-8/+13
2021-12-18bpf: Introduce MEM_RDONLY flagHao Luo-1/+1
2021-12-18bpf: Replace PTR_TO_XXX_OR_NULL with PTR_TO_XXX | PTR_MAYBE_NULLHao Luo-1/+1
2021-11-20bpf, sockmap: Re-evaluate proto ops when psock is removed from sockmapJohn Fastabend-1/+4
2021-11-20bpf, sockmap: Attach map progs to psock early for feature probesJohn Fastabend-4/+6
2021-11-09bpf, sockmap: Use stricter sk state checks in sk_lookup_assignJohn Fastabend-6/+0
2021-08-16af_unix: Add unix_stream_proto for sockmapJiang Wang-0/+1
2021-07-15af_unix: Implement ->psock_update_sk_prot()Cong Wang-0/+1
2021-07-15sock_map: Lift socket state restriction for datagram socketsCong Wang-20/+1
2021-06-22bpf: Fix integer overflow in argument calculation for bpf_map_area_allocBui Quang Minh-1/+1
2021-04-12sock_map: Fix a potential use-after-free in sock_map_close()Cong Wang-1/+2