Re: [bpf-next PATCH] samples/bpf: fix xdp_monitor user output for tracepoint exception

2018-04-18 Thread Daniel Borkmann
On 04/17/2018 04:08 PM, Jesper Dangaard Brouer wrote: > The variable rec_i contains an XDP action code not an error. > Thus, using err2str() was wrong, it should have been action2str(). > > Signed-off-by: Jesper Dangaard Brouer Applied to bpf-next, thanks Jesper!

[bpf-next PATCH] samples/bpf: fix xdp_monitor user output for tracepoint exception

2018-04-17 Thread Jesper Dangaard Brouer
The variable rec_i contains an XDP action code not an error. Thus, using err2str() was wrong, it should have been action2str(). Signed-off-by: Jesper Dangaard Brouer --- samples/bpf/xdp_monitor_user.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git