summaryrefslogtreecommitdiff
path: root/samples/bpf/xdp_fwd_user.c
diff options
context:
space:
mode:
authorSalah Triki <salah.triki@gmail.com>2021-07-02 16:31:14 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-07-21 16:53:24 +0300
commitd1d26f40f71c6eabeb2083e2a18d2e55e9a71336 (patch)
tree2e019518b950aa9868b7672d7dbd1d3f3e62fff6 /samples/bpf/xdp_fwd_user.c
parent36cdc20b79ef8841d38217ea8ba837a7dbfbe852 (diff)
downloadlinux-d1d26f40f71c6eabeb2083e2a18d2e55e9a71336.tar.xz
dio: return -ENOMEM when kzalloc() fails
Return -ENOMEM when kzalloc() fails in order to inform the caller of the failure. Signed-off-by: Salah Triki <salah.triki@gmail.com> Link: https://lore.kernel.org/r/20210702133114.GA314157@pc Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'samples/bpf/xdp_fwd_user.c')
0 files changed, 0 insertions, 0 deletions