diff options
| author | David Ahern <[email protected]> | 2020-07-14 15:56:35 +0200 |
|---|---|---|
| committer | Daniel Borkmann <[email protected]> | 2020-07-16 17:00:31 +0200 |
| commit | daa5cdc3fd08407048538585b2433601d4089a82 (patch) | |
| tree | 76650a59735c33bfda6826fc86732ee86e7da8cc /include/uapi/linux | |
| 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
Diffstat (limited to 'include/uapi/linux')
0 files changed, 0 insertions, 0 deletions