summaryrefslogtreecommitdiff
path: root/usr
diff options
context:
space:
mode:
authorBjörn Töpel <bjorn.topel@intel.com>2021-01-22 11:53:49 +0100
committerDaniel Borkmann <daniel@iogearbox.net>2021-01-25 23:56:33 +0100
commit458f7272341265e443c227ba55ee4a338021a60a (patch)
treecd3c010019153d541b20958bc4fba6e6ab194fdf /usr
parent6e66fbb10597f31e88c575e07640978f376abcd3 (diff)
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 'usr')
0 files changed, 0 insertions, 0 deletions