summaryrefslogtreecommitdiff
path: root/net/core/sock_map.c
AgeCommit message (Expand)AuthorFilesLines
2025-06-27bpf: Clean up sockmap related KconfigsCong Wang1-0/+2
2025-04-10bpf, sockmap: Fix race between element replace and close()Michal Luczaj1-3/+2
2024-12-19bpf, sockmap: Fix update element with sameMichal Luczaj1-0/+1
2024-10-17sock_map: Add a cond_resched() in sock_hash_free()Eric Dumazet1-0/+1
2024-07-18bpf, sockmap: Fix sk->sk_forward_alloc warn_on in sk_stream_kill_queuesWang Yufen1-0/+22
2024-04-13bpf, sockmap: Prevent lock inversion deadlock in map delete elemJakub Sitnicki1-0/+6
2023-08-11bpf: sockmap: Remove preempt_disable in sock_map_sk_acquireTomas Glozar1-2/+0
2023-05-17bpf, sockmap: Revert buggy deadlock fix in the sockhash and sockmapDaniel Borkmann1-6/+4
2023-05-17bpf, sockmap: fix deadlocks in the sockhash and sockmapXin Liu1-4/+6
2023-01-14bpf, sockmap: fix race in sock_map_free()Eric Dumazet1-0/+2
2022-08-25bpf: Acquire map uref in .init_seq_private for sock{map,hash} iteratorHou Tao1-1/+19
2021-12-17bpf: Fix integer overflow in argument calculation for bpf_map_area_allocBui Quang Minh1-1/+1
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-12bpf, sockmap: Allow skipping sk_skb parser programJohn Fastabend1-7/+15
2020-10-12bpf, sockmap: Check skb_verdict and skb_parser programs explicitlyJohn Fastabend1-7/+8
2020-09-30bpf, net: Rework cookie generator as per-cpu oneDaniel Borkmann1-2/+2
2020-09-29bpf: sockmap: Enable map_update_elem from bpf_iterLorenz Bauer1-0/+3
2020-09-10net: Allow iterating sockmap and sockhashLorenz Bauer1-2/+278
2020-09-10net: sockmap: Remove unnecessary sk_fullsock checksLorenz Bauer1-2/+2
2020-08-28bpf: Add map_meta_equal map opsMartin KaFai Lau1-0/+2
2020-08-22bpf: sockmap: Allow update from BPFLorenz Bauer1-0/+24
2020-08-22bpf: sockmap: Call sock_map_update_elem directlyLorenz Bauer1-4/+2
2020-08-22bpf: sockmap: Merge sockmap and sockhash update functionsLorenz Bauer1-42/+7
2020-08-22net: sk_msg: Simplify sk_psock initializationLorenz Bauer1-10/+4
2020-07-11Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller1-5/+48
2020-06-30bpf: sockmap: Require attach_bpf_fd when detaching a programLorenz Bauer1-5/+45
2020-06-30bpf: sockmap: Check value of unused args to BPF_PROG_ATTACHLorenz Bauer1-0/+3
2020-06-22bpf: Set map_btf_{name, id} for all map typesAndrey Ignatov1-0/+6
2020-06-22bpf: Rename bpf_htab to bpf_shtab in sock_mapAndrey Ignatov1-41/+41
2020-06-13bpf: Fix memlock accounting for sock_hashAndrey Ignatov1-0/+4
2020-06-13bpf: sockmap: Don't attach programs to UDP socketsLorenz Bauer1-4/+6
2020-06-09bpf, sockhash: Synchronize delete from bucket list on map freeJakub Sitnicki1-2/+21
2020-06-09bpf, sockhash: Fix memory leak when unlinking sockets in sock_hash_freeJakub Sitnicki1-0/+1
2020-04-30bpf: Allow bpf_map_lookup_elem for SOCKMAP and SOCKHASHJakub Sitnicki1-2/+16
2020-03-26Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller1-4/+8
2020-03-11bpf, sockmap: Remove bucket->lock from sock_{hash|map}_freeJohn Fastabend1-4/+8
2020-03-10bpf: sockmap: Add UDP supportLorenz Bauer1-4/+33
2020-03-10bpf: sockmap: Simplify sock_map_init_protoLorenz Bauer1-15/+4
2020-03-10bpf: sockmap: Move generic sockmap hooks from BPF TCPLorenz Bauer1-5/+101
2020-03-10bpf: tcp: Move assertions into tcp_bpf_get_protoLorenz Bauer1-16/+9
2020-03-10bpf: sockmap: Only check ULP for TCP socketsLorenz Bauer1-4/+2
2020-02-22bpf, sockmap: Let all kernel-land lookup values in SOCKMAP/SOCKHASHJakub Sitnicki1-2/+7
2020-02-22bpf, sockmap: Return socket cookie on lookup from syscallJakub Sitnicki1-4/+53
2020-02-22bpf, sockmap: Don't set up upcalls and progs for listening socketsJakub Sitnicki1-7/+45
2020-02-22bpf, sockmap: Allow inserting listening TCP sockets into sockmapJakub Sitnicki1-15/+44
2020-02-18bpf, sockmap: Replace zero-length array with flexible-array memberGustavo A. R. Silva1-1/+1
2020-02-08bpf, sockhash: Synchronize_rcu before free'ing mapJakub Sitnicki1-0/+4
2020-02-08bpf, sockmap: Don't sleep while holding RCU lock on tear-downJakub Sitnicki1-4/+4
2020-02-08bpf, sockmap: Check update requirements after lockingLorenz Bauer1-6/+10