Re: [PATCH bpf] xdp: fix cpumap redirect SKB creation bug

2019-03-29 Thread Alexei Starovoitov
On Fri, Mar 29, 2019 at 2:18 AM Jesper Dangaard Brouer wrote: > > We want to avoid leaking pointer info from xdp_frame (that is placed in > top of frame) like commit 6dfb970d3dbd ("xdp: avoid leaking info stored in > frame data on page reuse"), and followup commit 97e19cce05e5 ("bpf: > reserve xdp

[PATCH bpf] xdp: fix cpumap redirect SKB creation bug

2019-03-29 Thread Jesper Dangaard Brouer
We want to avoid leaking pointer info from xdp_frame (that is placed in top of frame) like commit 6dfb970d3dbd ("xdp: avoid leaking info stored in frame data on page reuse"), and followup commit 97e19cce05e5 ("bpf: reserve xdp_frame size in xdp headroom") that reserve this headroom. These changes