summaryrefslogtreecommitdiff
path: root/net/core/sock_map.c
AgeCommit message (Expand)AuthorFilesLines
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
2020-10-11bpf, 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-28bpf: 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-21bpf: sockmap: Allow update from BPFLorenz Bauer1-0/+24
2020-08-21bpf: sockmap: Call sock_map_update_elem directlyLorenz Bauer1-4/+2
2020-08-21bpf: sockmap: Merge sockmap and sockhash update functionsLorenz Bauer1-42/+7
2020-08-21net: 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-12bpf: Fix memlock accounting for sock_hashAndrey Ignatov1-0/+4
2020-06-12bpf: 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-29bpf: Allow bpf_map_lookup_elem for SOCKMAP and SOCKHASHJakub Sitnicki1-2/+16
2020-03-25Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller1-4/+8