diff options
author | 2025-06-17 00:44:11 +0200 | |
---|---|---|
committer | 2025-06-17 18:18:45 -0700 | |
commit | b2e653bcff0f3eb43183393548f7142c176faa6d (patch) | |
tree | 44724af3e43eb32a39c03a40a43b030cb656088d /drivers/net/wireguard/socket.c | |
parent | net: ipv4: ipmr: ipmr_queue_xmit(): Drop local variable `dev' (diff) | |
download | wireguard-linux-b2e653bcff0f3eb43183393548f7142c176faa6d.tar.xz wireguard-linux-b2e653bcff0f3eb43183393548f7142c176faa6d.zip |
net: ipv4: ipmr: Split ipmr_queue_xmit() in two
Some of the work of ipmr_queue_xmit() is specific to IPMR forwarding, and
should not take place on the output path. In order to allow reuse of the
common parts, split the function into two: the ipmr_prepare_xmit() helper
that takes care of the common bits, and the ipmr_queue_fwd_xmit(), which
invokes the former and encapsulates the whole forwarding algorithm.
Signed-off-by: Petr Machata <petrm@nvidia.com>
Reviewed-by: Ido Schimmel <idosch@nvidia.com>
Reviewed-by: Nikolay Aleksandrov <razor@blackwall.org>
Link: https://patch.msgid.link/4e8db165572a4f8bd29a723a801e854e9d20df4d.1750113335.git.petrm@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/wireguard/socket.c')
0 files changed, 0 insertions, 0 deletions