diff options
author | Björn Töpel <bjorn.topel@intel.com> | 2021-01-22 11:53:49 +0100 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2021-01-25 23:56:33 +0100 |
commit | 458f7272341265e443c227ba55ee4a338021a60a (patch) | |
tree | cd3c010019153d541b20958bc4fba6e6ab194fdf /net/xdp/xsk_buff_pool.c | |
parent | samples/bpf: Add xdp program on egress for xdp_redirect_map (diff) | |
download | linux-458f7272341265e443c227ba55ee4a338021a60a.tar.xz linux-458f7272341265e443c227ba55ee4a338021a60a.zip |
xsk: Remove explicit_free parameter from __xsk_rcv()
The explicit_free parameter of the __xsk_rcv() function was used to
mark whether the call was via the generic XDP or the native XDP
path. Instead of clutter the code with if-statements and "true/false"
parameters which are hard to understand, simply move the explicit free
to the __xsk_map_redirect() which is always called from the native XDP
path.
Signed-off-by: Björn Töpel <bjorn.topel@intel.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Reviewed-by: Maciej Fijalkowski <maciej.fijalkowski@intel.com>
Link: https://lore.kernel.org/bpf/20210122105351.11751-2-bjorn.topel@gmail.com
Diffstat (limited to 'net/xdp/xsk_buff_pool.c')
0 files changed, 0 insertions, 0 deletions