diff options
author | John Fastabend <john.fastabend@gmail.com> | 2018-05-17 01:38:14 +0200 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2018-05-17 01:48:22 +0200 |
commit | e23afe5e7cba89cd0744c5218eda1b3553455c17 (patch) | |
tree | 5ea1134af3e5279de76b6f46a631311c4dffd17c /samples/bpf/xdp_fwd_kern.c | |
parent | bpf: fix sock hashmap kmalloc warning (diff) | |
download | linux-e23afe5e7cba89cd0744c5218eda1b3553455c17.tar.xz linux-e23afe5e7cba89cd0744c5218eda1b3553455c17.zip |
bpf: sockmap, on update propagate errors back to userspace
When an error happens in the update sockmap element logic also pass
the err up to the user.
Fixes: e5cd3abcb31a ("bpf: sockmap, refactor sockmap routines to work with hashmap")
Signed-off-by: John Fastabend <john.fastabend@gmail.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'samples/bpf/xdp_fwd_kern.c')
0 files changed, 0 insertions, 0 deletions