aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/bpf/syscall.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/bpf/syscall.c')
-rw-r--r--kernel/bpf/syscall.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/kernel/bpf/syscall.c b/kernel/bpf/syscall.c
index 41509cf825d8..2c4cfeaa8d5e 100644
--- a/kernel/bpf/syscall.c
+++ b/kernel/bpf/syscall.c
@@ -1616,11 +1616,6 @@ static int bpf_prog_get_info_by_fd(struct bpf_prog *prog,
1616 return -EFAULT; 1616 return -EFAULT;
1617 } 1617 }
1618 1618
1619 if (bpf_prog_is_dev_bound(prog->aux)) {
1620 info.status |= BPF_PROG_STATUS_DEV_BOUND;
1621 info.ifindex = bpf_prog_offload_ifindex(prog);
1622 }
1623
1624done: 1619done:
1625 if (copy_to_user(uinfo, &info, info_len) || 1620 if (copy_to_user(uinfo, &info, info_len) ||
1626 put_user(info_len, &uattr->info.info_len)) 1621 put_user(info_len, &uattr->info.info_len))