aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/bpf
AgeCommit message (Expand)AuthorFilesLines
2018-08-23bpf: use per htab salt for bucket hashDaniel Borkmann1-10/+13
2018-08-22bpf: sockmap: write_space events need to be passed to TCP handlerJohn Fastabend1-0/+3
2018-08-22bpf, sockmap: fix sock hash count in alloc_sock_hash_elemDaniel Borkmann1-1/+3
2018-08-22bpf, sockmap: fix sock_hash_alloc and reject zero-sized keysDaniel Borkmann1-1/+3
2018-08-17bpf: fix redirect to map under tail callsDaniel Borkmann4-21/+4
2018-08-16bpf, sockmap: fix sock_map_ctx_update_elem race with exist/noexistDaniel Borkmann1-49/+57
2018-08-16bpf, sockmap: fix map elem deletion race with smap_stop_sockDaniel Borkmann1-1/+4
2018-08-16bpf, sockmap: fix leakage of smap_psock_map_entryDaniel Borkmann1-2/+7
2018-08-16bpf: fix a rcu usage warning in bpf_prog_array_copy_core()Yonghong Song1-1/+1
2018-08-15Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-nextLinus Torvalds19-206/+1273
2018-08-13Merge branch 'locking-core-for-linus' of git://git.kernel.org/pub/scm/linux/k...Linus Torvalds1-2/+2
2018-08-13Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextDavid S. Miller14-25/+478
2018-08-13bpf: decouple btf from seq bpf fs dump and enable more mapsDaniel Borkmann11-40/+66
2018-08-11Merge ra.kernel.org:/pub/scm/linux/kernel/git/davem/netDavid S. Miller3-14/+24
2018-08-11bpf: Introduce BPF_PROG_TYPE_SK_REUSEPORTMartin KaFai Lau1-0/+9
2018-08-11bpf: Introduce BPF_MAP_TYPE_REUSEPORT_SOCKARRAYMartin KaFai Lau4-1/+373
2018-08-10bpf: btf: add pretty print for hash/lru_hash mapsYonghong Song1-0/+44
2018-08-10bpf: fix bpffs non-array map seq_show issueYonghong Song1-3/+5
2018-08-09xdp: fix bug in devmap teardown code pathJesper Dangaard Brouer1-5/+9
2018-08-09xdp: fix bug in cpumap teardown code pathJesper Dangaard Brouer1-6/+9
2018-08-08bpf, sockmap: fix leak in bpf_tcp_sendmsg wait for mem pathDaniel Borkmann1-2/+5
2018-08-08bpf, sockmap: fix bpf_tcp_sendmsg sock error handlingDaniel Borkmann1-1/+1
2018-08-07Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextDavid S. Miller8-124/+617
2018-08-07bpf: introduce update_effective_progs()Roman Gushchin1-54/+45
2018-08-03bpf: introduce the bpf_get_local_storage() helper functionRoman Gushchin4-0/+41
2018-08-03bpf: don't allow create maps of cgroup local storagesRoman Gushchin1-1/+2
2018-08-03bpf/verifier: introduce BPF_PTR_TO_MAP_VALUERoman Gushchin1-2/+6
2018-08-03bpf: extend bpf_prog_array to store pointers to the cgroup storageRoman Gushchin2-46/+51
2018-08-03bpf: allocate cgroup storage entries on attaching bpf programsRoman Gushchin1-4/+31
2018-08-03bpf: pass a pointer to a cgroup storage using pcpu variableRoman Gushchin1-0/+2
2018-08-03bpf: introduce cgroup storage mapsRoman Gushchin4-0/+392
2018-08-03bpf: add ability to charge bpf maps memory dynamicallyRoman Gushchin1-15/+43
2018-08-02Merge ra.kernel.org:/pub/scm/linux/kernel/git/davem/netDavid S. Miller2-2/+14
2018-07-31bpf: verifier: MOV64 don't mark dst reg unboundedArthur Fabre1-2/+4
2018-07-27bpf: btf: Use exact btf value_size match in map_check_btf()Martin KaFai Lau1-1/+1
2018-07-24Merge ra.kernel.org:/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-6/+10
2018-07-24bpf: btf: Ensure the member->offset is in the right orderMartin KaFai Lau1-1/+13
2018-07-20Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextDavid S. Miller5-58/+179
2018-07-20bpf: btf: Clean up BTF_INT_BITS() in uapi btf.hMartin KaFai Lau1-6/+10
2018-07-18bpf: offload: allow program and map sharing per-ASICJakub Kicinski1-7/+35
2018-07-18bpf: offload: keep the offload state per-ASICJakub Kicinski1-17/+64
2018-07-18bpf: offload: aggregate offloads per-deviceJakub Kicinski1-46/+96
2018-07-18bpf: offload: rename bpf_offload_dev_match() to bpf_offload_prog_map_match()Jakub Kicinski2-2/+2
2018-07-18bpf: sockmap: remove redundant pointer sgColin Ian King1-3/+0
2018-07-18bpf: fix rcu annotations in compute_effective_progs()Roman Gushchin1-4/+3
2018-07-18bpf: bpf_prog_array_alloc() should return a generic non-rcu pointerRoman Gushchin1-1/+1
2018-07-17Merge tag 'v4.18-rc5' into locking/core, to pick up fixesIngo Molnar4-177/+260
2018-07-12bpf: don't leave partial mangled prog in jit_subprogs error pathDaniel Borkmann1-2/+9
2018-07-11bpf: btf: Fix bitfield extraction for big endianOkash Khawaja1-17/+13
2018-07-07xdp: XDP_REDIRECT should check IFF_UP and MTUToshiaki Makita1-1/+6
2018-07-07bpf: sockmap, convert bpf_compute_data_pointers to bpf_*_sk_skbJohn Fastabend1-2/+2
2018-07-07bpf: sockmap, consume_skb in close pathJohn Fastabend1-1/+4
2018-07-07bpf: sockhash, disallow bpf_tcp_close and update in parallelJohn Fastabend2-1/+18
2018-07-07bpf: sockmap, hash table is RCU so readers do not need locksJohn Fastabend1-2/+0
2018-07-07bpf: sockmap, error path can not release psock in multi-map caseJohn Fastabend1-11/+6
2018-07-03bpf: hash map: decrement counter on errorMauricio Vasquez B1-5/+11
2018-07-01bpf: sockhash, add release routineJohn Fastabend1-0/+1
2018-07-01bpf: sockhash fix omitted bucket lock in sock_closeJohn Fastabend1-49/+96
2018-07-01bpf: sockmap, fix smap_list_map_remove when psock is in many mapsJohn Fastabend1-12/+22
2018-07-01bpf: sockmap, fix crash when ipv6 sock is addedJohn Fastabend1-10/+48
2018-06-29bpf: undo prog rejection on read-only lock failureDaniel Borkmann1-29/+1
2018-06-26bpf: fix attach type BPF_LIRC_MODE2 dependency wrt CONFIG_CGROUP_BPFSean Young3-78/+93
2018-06-21atomics/treewide: Rename __atomic_add_unless() => atomic_fetch_add_unless()Mark Rutland1-2/+2
2018-06-17Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpfDavid S. Miller3-16/+79
2018-06-16Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netLinus Torvalds1-2/+12
2018-06-15xdp: Fix handling of devmap in generic XDPToshiaki Makita1-0/+14
2018-06-15bpf: reject any prog that failed read-only lockDaniel Borkmann2-10/+49
2018-06-15bpf: fix panic in prog load calls cleanupDaniel Borkmann2-6/+16
2018-06-12treewide: Use array_size() in vzalloc()Kees Cook1-3/+5
2018-06-12treewide: kvzalloc() -> kvcalloc()Kees Cook1-4/+4
2018-06-12treewide: kzalloc() -> kcalloc()Kees Cook1-1/+1
2018-06-12treewide: kmalloc() -> kmalloc_array()Kees Cook1-2/+3
2018-06-08bpf: implement dummy fops for bpf objectsDaniel Borkmann1-2/+12
2018-06-07bpf: reject passing modified ctx to helper functionsDaniel Borkmann1-17/+31
2018-06-03bpf: implement bpf_get_current_cgroup_id() helperYonghong Song2-0/+16
2018-06-03bpf/xdp: devmap can avoid calling ndo_xdp_flushJesper Dangaard Brouer1-13/+6
2018-06-03xdp: add flags argument to ndo_xdp_xmit APIJesper Dangaard Brouer1-1/+1
2018-06-03bpf: fix context access in tracing progs on 32 bit archsDaniel Borkmann1-1/+2
2018-06-03bpf: avoid retpoline for lookup/update/delete calls on mapsDaniel Borkmann2-22/+58
2018-06-03bpf: show prog and map id in fdinfoDaniel Borkmann1-4/+8
2018-06-03bpf: fixup error message from gpl helpers on license mismatchDaniel Borkmann1-1/+1
2018-06-02bpf: btf: Ensure t->type == 0 for BTF_KIND_FWDMartin KaFai Lau1-1/+20
2018-06-02bpf: btf: Check array t->sizeMartin KaFai Lau1-0/+5
2018-05-30bpf: devmap: remove redundant assignment of dev = devColin Ian King1-1/+1
2018-05-30media: rc: introduce BPF_PROG_LIRC_MODE2Sean Young1-0/+7
2018-05-30bpf: bpf_prog_array_copy() should return -ENOENT if exclude_prog not foundSean Young1-2/+9
2018-05-28bpf: Hooks for sys_sendmsgAndrey Ignatov2-1/+18
2018-05-28bpf: avoid -Wmaybe-uninitialized warningArnd Bergmann1-4/+3
2018-05-28bpf: btf: avoid -Wreturn-type warningArnd Bergmann1-1/+1
2018-05-26Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-25/+120
2018-05-25Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netLinus Torvalds1-22/+64
2018-05-24Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextDavid S. Miller8-136/+614
2018-05-24xdp/trace: extend tracepoint in devmap with an errJesper Dangaard Brouer1-2/+3
2018-05-24xdp: change ndo_xdp_xmit API to support bulkingJesper Dangaard Brouer1-11/+18
2018-05-24xdp: introduce xdp_return_frame_rx_napiJesper Dangaard Brouer2-2/+2
2018-05-24xdp: add tracepoint for devmap like cpumap haveJesper Dangaard Brouer1-4/+23
2018-05-24bpf: devmap prepare xdp frames for bulkingJesper Dangaard Brouer1-4/+70
2018-05-24bpf: devmap introduce dev_map_enqueueJesper Dangaard Brouer1-6/+28
2018-05-24bpf: introduce bpf subcommand BPF_TASK_FD_QUERYYonghong Song1-0/+131
2018-05-24bpf: properly enforce index mask to prevent out-of-bounds speculationDaniel Borkmann1-22/+64
2018-05-24ipv6: sr: Add seg6local action End.BPFMathieu Xhonneux1-0/+1
2018-05-24bpf: get JITed image lengths of functions via syscallSandipan Das1-0/+20
2018-05-24bpf: fix multi-function JITed dump obtained via syscallSandipan Das1-3/+34
2018-05-24bpf: get kernel symbol addresses via syscallSandipan Das2-6/+26
2018-05-24bpf: support 64-bit offsets for bpf function callsSandipan Das1-1/+14
2018-05-24bpf: btf: Avoid variable length arrayMartin KaFai Lau1-6/+5
2018-05-23bpf: btf: Rename btf_key_id and btf_value_id in bpf_map_infoMartin KaFai Lau2-10/+10
2018-05-23bpf: btf: Remove unused bits from uapi/linux/btf.hMartin KaFai Lau1-17/+35
2018-05-23bpf: btf: Check array->index_typeMartin KaFai Lau1-24/+56
2018-05-23bpf: btf: Change how section is supported in btf_headerMartin KaFai Lau1-51/+158
2018-05-23bpf: Expose check_uarg_tail_zero()Martin KaFai Lau1-7/+7
2018-05-21Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller2-34/+84
2018-05-21Merge branch 'speck-v20' of git://git.kernel.org/pub/scm/linux/kernel/git/tip...Linus Torvalds1-3/+56
2018-05-19bpf: Prevent memory disambiguation attackAlexei Starovoitov1-3/+56
2018-05-18bpf: allow sk_msg programs to read sock fieldsJohn Fastabend1-0/+1
2018-05-18xsk: clean up SPDX headersBjörn Töpel1-9/+0
2018-05-17bpf: fix truncated jump targets on heavy expansionsDaniel Borkmann1-25/+75
2018-05-18bpf: parse and verdict prog attach may race with bpf map updateJohn Fastabend1-3/+3
2018-05-18bpf: sockmap update rollback on error can incorrectly dec prog refcntJohn Fastabend1-6/+6
2018-05-17bpf: sockmap, fix double-freeGustavo A. R. Silva1-1/+0
2018-05-17bpf: sockmap, fix uninitialized variableGustavo A. R. Silva1-1/+1
2018-05-16Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextDavid S. Miller6-100/+797
2018-05-17bpf: sockmap, on update propagate errors back to userspaceJohn Fastabend1-1/+1
2018-05-17bpf: fix sock hashmap kmalloc warningYonghong Song1-0/+6
2018-05-15bpf: sockmap, add hash map supportJohn Fastabend3-17/+492
2018-05-15bpf: sockmap, refactor sockmap routines to work with hashmapJohn Fastabend1-60/+88
2018-05-14bpf: enable stackmap with build_id in nmi contextSong Liu1-6/+53
2018-05-11Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-5/+14
2018-05-09bpf: xdp: allow offloads to store into rx_queue_indexJakub Kicinski1-1/+1
2018-05-09bpf: btf: Add struct bpf_btf_infoMartin KaFai Lau2-6/+37
2018-05-09bpf: btf: Introduce BTF IDMartin KaFai Lau2-11/+121
2018-05-09bpf: btf: Avoid WARN_ON when CONFIG_REFCOUNT_FULL=yMartin KaFai Lau1-1/+1
2018-05-07Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextDavid S. Miller9-211/+517
2018-05-04bpf, xskmap: fix crash in xsk_map_alloc error path handlingDaniel Borkmann1-0/+2
2018-05-04bpf: fix references to free_bpf_prog_info() in commentsJakub Kicinski1-2/+2
2018-05-04bpf: replace map pointer loads before calling into offloadsJakub Kicinski1-5/+5
2018-05-04bpf: export bpf_event_output()Jakub Kicinski1-0/+1
2018-05-04nfp: bpf: record offload neutral maps in the driverJakub Kicinski1-0/+2
2018-05-04bpf: offload: allow offloaded programs to use perf event arraysJakub Kicinski1-2/+4
2018-05-04Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-22/+26
2018-05-04bpf: add faked "ending" subprogJiong Wang1-20/+14
2018-05-04bpf: centre subprog information fieldsJiong Wang1-30/+32
2018-05-04bpf: unify main prog and subprogJiong Wang1-26/+31
2018-05-03bpf: use array_index_nospec in find_prog_typeDaniel Borkmann1-2/+8
2018-05-03bpf: implement ld_abs/ld_ind in native bpfDaniel Borkmann2-88/+32
2018-05-04bpf: fix possible spectre-v1 in find_and_alloc_map()Mark Rutland1-3/+6
2018-05-03bpf: introduce new bpf AF_XDP map type BPF_MAP_TYPE_XSKMAPBjörn Töpel3-2/+248
2018-05-02bpf: sockmap, fix error handling in redirect failuresJohn Fastabend1-16/+12
2018-05-02bpf: sockmap, zero sg_size on error when buffer is releasedJohn Fastabend1-4/+11
2018-05-02bpf: sockmap, fix scatterlist update on error path in send with applyJohn Fastabend1-2/+3
2018-04-30bpf: remove tracepoints from bpf coreAlexei Starovoitov3-35/+2
2018-04-29bpf/verifier: improve register value range tracking with ARSHYonghong Song2-0/+33
2018-04-29bpf: remove never-hit branches in verifier adjust_scalar_min_max_valsYonghong Song1-9/+2
2018-04-29bpf/verifier: refine retval R0 state for bpf_get_stack helperYonghong Song1-0/+27
2018-04-29bpf: add bpf_get_stack helperYonghong Song3-0/+91
2018-04-29bpf: change prototype for stack_map_get_build_id_offsetYonghong Song1-8/+5
2018-04-26Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextDavid S. Miller3-27/+18
2018-04-26bpf: Add gpl_compatible flag to struct bpf_prog_infoJiri Olsa1-0/+1
2018-04-25Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller3-7/+51
2018-04-24Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller2-19/+29
2018-04-24bpf: allow map helpers access to map values directlyPaul Chaignon1-17/+7
2018-04-24bpf: sockmap, fix double page_put on ENOMEM error in redirect pathJohn Fastabend1-2/+1
2018-04-24bpf: sockmap, sk_wait_event needed to handle blocking casesJohn Fastabend1-0/+44
2018-04-24bpf: sockmap, map_release does not hold refcnt for pinned mapsJohn Fastabend3-5/+6
2018-04-23bpf: btf: Clean up btf.h in uapiMartin KaFai Lau1-10/+10
2018-04-20bpf: sockmap remove dead checkJann Horn1-3/+0
2018-04-19bpf: btf: Add pretty print support to the basic arraymapMartin KaFai Lau3-4/+234
2018-04-19bpf: btf: Add BPF_OBJ_GET_INFO_BY_FD support to BTF fdMartin KaFai Lau2-1/+18
2018-04-19bpf: btf: Add BPF_BTF_LOAD commandMartin KaFai Lau2-0/+84
2018-04-19bpf: btf: Add pretty print capability for data with BTF type infoMartin KaFai Lau1-0/+198
2018-04-19bpf: btf: Check members of struct/unionMartin KaFai Lau1-0/+205
2018-04-19bpf: btf: Validate type referenceMartin KaFai Lau1-1/+665
2018-04-19bpf: btf: Introduce BPF Type Format (BTF)Martin KaFai Lau2-0/+916
2018-04-17xdp: transition into using xdp_frame for return APIJesper Dangaard Brouer1-3/+3
2018-04-17bpf: cpumap convert to use generic xdp_frameJesper Dangaard Brouer1-72/+28
2018-04-17xdp: introduce xdp_return_frame API and use in cpumapJesper Dangaard Brouer1-24/+36
2018-04-11bpf/tracing: fix a deadlock in perf_event_detach_bpf_progYonghong Song1-16/+29
2018-04-04kernel/bpf/syscall: fix warning defined but not usedAnders Roxell1-12/+12
2018-04-04bpf: sockmap, duplicates release calls may NULL sk_protJohn Fastabend1-2/+4
2018-04-04bpf: sockmap, free memory on sock close with cork dataJohn Fastabend1-0/+6
2018-03-31bpf: Post-hooks for sys_bindAndrey Ignatov1-0/+43
2018-03-31bpf: Hooks for sys_connectAndrey Ignatov1-0/+8
2018-03-31bpf: Hooks for sys_bindAndrey Ignatov3-8/+65
2018-03-31bpf: Check attach type at prog load timeAndrey Ignatov3-5/+35
2018-03-30bpf: sockmap: initialize sg table entries properlyPrashant Bhole1-5/+8
2018-03-30bpf: sockmap, BPF_F_INGRESS flag for BPF_SK_SKB_STREAM_VERDICT:John Fastabend1-18/+76
2018-03-30bpf: sockmap redirect ingress supportJohn Fastabend1-3/+195
2018-03-28bpf: introduce BPF_RAW_TRACEPOINTAlexei Starovoitov1-0/+78
2018-03-27bpf: follow idr code conventionShaohua Li1-0/+4
2018-03-26bpf: Add bpf_verifier_vlog() and bpf_verifier_log_needed()Martin KaFai Lau1-8/+11
2018-03-26bpf: Rename bpf_verifer_logMartin KaFai Lau1-2/+2
2018-03-23bpf: Remove struct bpf_verifier_env argument from print_bpf_insnJiri Olsa3-47/+54
2018-03-23Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-1/+1
2018-03-20bpf: skip unnecessary capability checkChenbo Feng1-1/+1
2018-03-19bpf: create tcp_bpf_ulp allowing BPF to monitor socket TX/RX dataJohn Fastabend3-20/+711
2018-03-19sockmap: convert refcnt to an atomic refcntJohn Fastabend1-13/+10
2018-03-15bpf: extend stackmap to save binary_build_id+offset instead of addressSong Liu1-22/+235
2018-03-09bpf: comment why dots in filenames under BPF virtual FS are not allowedQuentin Monnet1-0/+3
2018-03-06Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-16/+26
2018-02-26Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextDavid S. Miller1-4/+0