Thread (36 messages) 36 messages, 5 authors, 2025-06-12

Re: [PATCH net-next 03/14] net: ipv4: ipmr: Split ipmr_queue_xmit() in two

From: Nikolay Aleksandrov <razor@blackwall.org>
Date: 2025-06-12 10:29:21

On 6/9/25 23:50, Petr Machata wrote:
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>
---
  net/ipv4/ipmr.c | 45 +++++++++++++++++++++++++++++----------------
  1 file changed, 29 insertions(+), 16 deletions(-)
Reviewed-by: Nikolay Aleksandrov <razor@blackwall.org>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help