commit | daa5cdc3fd08407048538585b2433601d4089a82 | [log] [tgz] |
---|---|---|
author | David Ahern <[email protected]> | Tue Jul 14 15:56:35 2020 +0200 |
committer | Daniel Borkmann <[email protected]> | Thu Jul 16 17:00:31 2020 +0200 |
tree | 76650a59735c33bfda6826fc86732ee86e7da8cc | |
parent | 9b74ebb2b0f259474da65fa0178c657e5fa5c640 [diff] |
net: Refactor xdp_convert_buff_to_frame Move the guts of xdp_convert_buff_to_frame to a new helper, xdp_update_frame_from_buff so it can be reused removing code duplication Suggested-by: Jesper Dangaard Brouer <[email protected]> Co-developed-by: Lorenzo Bianconi <[email protected]> Signed-off-by: Lorenzo Bianconi <[email protected]> Signed-off-by: David Ahern <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]> Acked-by: Jesper Dangaard Brouer <[email protected]> Link: https://lore.kernel.org/bpf/90a68c283d7ebeb48924934c9b7ac79492300472.1594734381.git.lorenzo@kernel.org