Lorenzo Bianconi <lorenzo@xxxxxxxxxx> writes: > Even if this is a theoretical issue since it is not possible to perform > XDP_REDIRECT on a non-linear xdp_frame, veth driver does not account > paged area in ndo_xdp_xmit function pointer. > Introduce xdp_get_frame_len utility routine to get the xdp_frame full > length and account total frame size running XDP_REDIRECT of a > non-linear xdp frame into a veth device. > > Signed-off-by: Lorenzo Bianconi <lorenzo@xxxxxxxxxx> Acked-by: Toke Høiland-Jørgensen <toke@xxxxxxxxxx>