summaryrefslogtreecommitdiff
path: root/net/core/sock_map.c
AgeCommit message (Expand)AuthorFilesLines
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
2020-03-11bpf, sockmap: Remove bucket->lock from sock_{hash|map}_freeJohn Fastabend1-4/+8
2020-03-09bpf: sockmap: Add UDP supportLorenz Bauer1-4/+33
2020-03-09bpf: sockmap: Simplify sock_map_init_protoLorenz Bauer1-15/+4
2020-03-09bpf: sockmap: Move generic sockmap hooks from BPF TCPLorenz Bauer1-5/+101
2020-03-09bpf: tcp: Move assertions into tcp_bpf_get_protoLorenz Bauer1-16/+9
2020-03-09bpf: sockmap: Only check ULP for TCP socketsLorenz Bauer1-4/+2
2020-02-21bpf, sockmap: Let all kernel-land lookup values in SOCKMAP/SOCKHASHJakub Sitnicki1-2/+7
2020-02-21bpf, sockmap: Return socket cookie on lookup from syscallJakub Sitnicki1-4/+53
2020-02-21bpf, sockmap: Don't set up upcalls and progs for listening socketsJakub Sitnicki1-7/+45
2020-02-21bpf, sockmap: Allow inserting listening TCP sockets into sockmapJakub Sitnicki1-15/+44
2020-02-17bpf, sockmap: Replace zero-length array with flexible-array memberGustavo A. R. Silva1-1/+1
2020-02-07bpf, sockhash: Synchronize_rcu before free'ing mapJakub Sitnicki1-0/+4
2020-02-07bpf, sockmap: Don't sleep while holding RCU lock on tear-downJakub Sitnicki1-4/+4
2020-02-07bpf, sockmap: Check update requirements after lockingLorenz Bauer1-6/+10
2020-01-15bpf: Sockmap, ensure sock lock held during tear downJohn Fastabend1-1/+6
2019-09-15Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller1-0/+3
2019-09-05net: sock_map, fix missing ulp check in sock hash caseJohn Fastabend1-0/+3
2019-08-31net/tls: use RCU protection on icsk->icsk_ulp_dataJakub Kicinski1-1/+1
2019-07-22bpf: sockmap, only create entry if ulp is not already enabledJohn Fastabend1-0/+3
2019-07-22bpf: sockmap, synchronize_rcu before free'ing mapJohn Fastabend1-0/+2
2019-07-22bpf: sockmap, sock_map_delete needs to use xchgJohn Fastabend1-5/+9
2019-05-31bpf: move memory size checks to bpf_map_charge_init()Roman Gushchin1-7/+1
2019-05-31bpf: rework memlock-based memory accounting for mapsRoman Gushchin1-2/+3
2019-05-31bpf: group memory related fields in struct bpf_map_memoryRoman Gushchin1-2/+2
2018-10-20bpf: skmsg, fix psock create on existing kcm/tls portJohn Fastabend1-5/+6
2018-10-15bpf, sockmap: convert to generic sk_msg interfaceDaniel Borkmann1-0/+1002