Re: [bpf-next PATCH] bpf: sockmap, on update propagate errors back to userspace

2018-05-16 Thread Daniel Borkmann
On 05/17/2018 01:38 AM, John Fastabend wrote: > 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 Agree, applied to bpf-next, th

[bpf-next PATCH] bpf: sockmap, on update propagate errors back to userspace

2018-05-16 Thread John Fastabend
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 --- kernel/bpf/sockmap.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff