bpf: Revert bpf_overrid_function() helper changes.
[linux-block.git] / include / uapi / linux / bpf.h
index adb66f78b674205d4ba9c2d80d44721cca1d6ef6..e880ae6434eed9eb29db99169c716c94c7cf30aa 100644 (file)
@@ -677,10 +677,6 @@ union bpf_attr {
  *     @buf: buf to fill
  *     @buf_size: size of the buf
  *     Return : 0 on success or negative error code
- *
- * int bpf_override_return(pt_regs, rc)
- *     @pt_regs: pointer to struct pt_regs
- *     @rc: the return value to set
  */
 #define __BPF_FUNC_MAPPER(FN)          \
        FN(unspec),                     \
@@ -740,8 +736,7 @@ union bpf_attr {
        FN(xdp_adjust_meta),            \
        FN(perf_event_read_value),      \
        FN(perf_prog_read_value),       \
-       FN(getsockopt),                 \
-       FN(override_return),
+       FN(getsockopt),
 
 /* integer value in 'imm' field of BPF_CALL instruction selects which helper
  * function eBPF program intends to call