Re: [PATCH net] bpf: Fix bpf_xdp_event_output

2017-02-23 Thread David Miller
From: Martin KaFai Lau Date: Thu, 23 Feb 2017 10:40:34 -0800 > Fix a typo. xdp->data instead of xdp should be copied to the perf-event's > dst_buff. > > Fixes: 4de16969523c ("bpf: enable event output helper also for xdp types") > Reported-by: Huapeng Zhou > Tested-by: Feixiong Zhang > Acked-by

Re: [PATCH net] bpf: Fix bpf_xdp_event_output

2017-02-23 Thread Daniel Borkmann
On 02/23/2017 07:40 PM, Martin KaFai Lau wrote: Fix a typo. xdp->data instead of xdp should be copied to the perf-event's dst_buff. Fixes: 4de16969523c ("bpf: enable event output helper also for xdp types") Reported-by: Huapeng Zhou Tested-by: Feixiong Zhang Acked-by: Alexei Starovoitov Cc: D

[PATCH net] bpf: Fix bpf_xdp_event_output

2017-02-23 Thread Martin KaFai Lau
Fix a typo. xdp->data instead of xdp should be copied to the perf-event's dst_buff. Fixes: 4de16969523c ("bpf: enable event output helper also for xdp types") Reported-by: Huapeng Zhou Tested-by: Feixiong Zhang Acked-by: Alexei Starovoitov Cc: Daniel Borkmann Signed-off-by: Martin KaFai Lau -