summaryrefslogtreecommitdiff
path: root/net/core/sock_map.c
AgeCommit message (Expand)AuthorFilesLines
2024-10-28sock_map: fix a NULL pointer dereference in sock_map_link_update_prog()Cong Wang1-0/+4
2024-10-17bpf, sockmap: SK_DROP on attempted redirects of unsupported af_vsockMichal Luczaj1-0/+8
2024-09-24Merge tag 'bpf-next-6.12-struct-fd' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds1-17/+6
2024-09-11sock_map: Add a cond_resched() in sock_hash_free()Eric Dumazet1-0/+1
2024-08-13bpf: switch maps to CLASS(fd, ...)Al Viro1-17/+6
2024-05-28sock_map: avoid race between sock_map_close and sk_psock_putThadeu Lima de Souza Cascardo1-6/+10
2024-05-27Revert "bpf, sockmap: Prevent lock inversion deadlock in map delete elem"Jakub Sitnicki1-6/+0
2024-04-29Merge tag 'for-netdev' of https://git.kernel.org/pub/scm/linux/kernel/git/bpf...Jakub Kicinski1-16/+247
2024-04-10bpf: Add bpf_link support for sk_msg and sk_skb progsYonghong Song1-16/+247
2024-04-02bpf, sockmap: Prevent lock inversion deadlock in map delete elemJakub Sitnicki1-0/+6
2023-12-13bpf: syzkaller found null ptr deref in unix_bpf proto addJohn Fastabend1-0/+2
2023-09-29bpf, sockmap: Reject sk_msg egress redirects to non-TCP socketsJakub Sitnicki1-0/+4
2023-08-30bpf, sockmap: Fix preempt_rt splat when using raw_spin_lock_tJohn Fastabend1-18/+18
2023-08-09bpf, sockmap: Fix map type error in sock_map_del_linkXu Kuohai1-5/+5
2023-08-01bpf: sockmap: Remove preempt_disable in sock_map_sk_acquireTomas Glozar1-2/+0
2023-06-19bpf: Centralize permissions checks for all BPF map typesAndrii Nakryiko1-4/+0
2023-05-23bpf, sockmap: Convert schedule_work into delayed_workJohn Fastabend1-1/+2
2023-04-13bpf, sockmap: Revert buggy deadlock fix in the sockhash and sockmapDaniel Borkmann1-6/+4
2023-04-12bpf, sockmap: fix deadlocks in the sockhash and sockmapXin Liu1-4/+6
2023-03-22bpf: return long from bpf_map_ops funcsJP Kobryn1-4/+4
2023-03-07bpf, net: sock_map memory usageYafang Shao1-0/+20
2023-01-24bpf, sockmap: Don't let sock_map_{close,destroy,unhash} call itselfJakub Sitnicki1-27/+34
2022-12-04bpf, sockmap: fix race in sock_map_free()Eric Dumazet1-0/+2
2022-11-03bpf, sock_map: Move cancel_work_sync() out of sock lockCong Wang1-3/+4
2022-08-17Merge https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextJakub Kicinski1-6/+6
2022-08-10bpf: Use bpf_map_area_alloc consistently on bpf map creationYafang Shao1-6/+6
2022-08-10bpf: Make __GFP_NOWARN consistent in bpf map creationYafang Shao1-2/+2
2022-08-10bpf: Acquire map uref in .init_seq_private for sock{map,hash} iteratorHou Tao1-1/+19
2022-06-28bpf: Fix sockmap calling sleepable function in teardown pathJohn Fastabend1-1/+1
2022-06-02bpf, sockmap: Fix sk->sk_forward_alloc warn_on in sk_stream_kill_queuesWang Yufen1-0/+23
2022-04-26bpf: Compute map_btf_id during build timeMenglong Dong1-6/+4
2022-01-20bpf: support BPF_PROG_QUERY for progs attached to sockmapDi Zhu1-7/+70
2022-01-05bpf, sockmap: Fix double bpf_prog_put on error case in map_linkJohn Fastabend1-8/+13
2021-12-18bpf: Introduce MEM_RDONLY flagHao Luo1-1/+1
2021-12-18bpf: Replace PTR_TO_XXX_OR_NULL with PTR_TO_XXX | PTR_MAYBE_NULLHao Luo1-1/+1
2021-11-20bpf, sockmap: Re-evaluate proto ops when psock is removed from sockmapJohn Fastabend1-1/+4
2021-11-20bpf, sockmap: Attach map progs to psock early for feature probesJohn Fastabend1-4/+6
2021-11-09bpf, sockmap: Use stricter sk state checks in sk_lookup_assignJohn Fastabend1-6/+0
2021-08-16af_unix: Add unix_stream_proto for sockmapJiang Wang1-0/+1
2021-07-15af_unix: Implement ->psock_update_sk_prot()Cong Wang1-0/+1
2021-07-15sock_map: Lift socket state restriction for datagram socketsCong Wang1-20/+1
2021-06-22bpf: Fix integer overflow in argument calculation for bpf_map_area_allocBui Quang Minh1-1/+1
2021-04-12sock_map: Fix a potential use-after-free in sock_map_close()Cong Wang1-1/+2
2021-04-12skmsg: Pass psock pointer to ->psock_update_sk_prot()Cong Wang1-1/+1
2021-04-01sock_map: Update sock type checks for UDPCong Wang1-1/+4
2021-04-01sock: Introduce sk->sk_prot->psock_update_sk_prot()Cong Wang1-20/+4
2021-04-01sock_map: Introduce BPF_SK_SKB_VERDICTCong Wang1-0/+28
2021-04-01sock_map: Kill sock_map_link_no_progs()Cong Wang1-40/+15
2021-04-01sock_map: Simplify sock_map_link() a bitCong Wang1-4/+5
2021-04-01skmsg: Avoid lock_sock() in sk_psock_backlog()Cong Wang1-0/+1