summaryrefslogtreecommitdiff
path: root/net/core/sock_map.c
AgeCommit message (Expand)AuthorFilesLines
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
2021-02-26sock_map: Make sock_map_prog_update() staticCong Wang1-2/+5
2021-02-26sock_map: Rename skb_parser and skb_verdictCong Wang1-30/+30
2021-02-26skmsg: Move sk_redir from TCP_SKB_CB to skbCong Wang1-6/+2
2021-02-26skmsg: Get rid of struct sk_psock_parserCong Wang1-4/+4
2021-02-26bpf: Clean up sockmap related KconfigsCong Wang1-0/+2
2021-01-08bpf: Replace fput with sockfd_put in sock mapZheng Yongjun1-1/+1
2020-12-02bpf: Eliminate rlimit-based memory accounting for sockmap and sockhash mapsRoman Gushchin1-27/+6
2020-12-02bpf: Refine memcg-based memory accounting for sockmap and sockhash mapsRoman Gushchin1-4/+5
2020-10-15net, sockmap: Don't call bpf_prog_put() on NULL pointerAlex Dewar1-7/+9
2020-10-15bpf, sockmap: Add locking annotations to iteratorLorenz Bauer1-0/+8
2020-10-11bpf, sockmap: Allow skipping sk_skb parser programJohn Fastabend1-7/+15