Re: [PATCH net-next 06/14] net: ipv6: Add a flags argument to ip6tunnel_xmit(), udp_tunnel6_xmit_skb()
From: Nikolay Aleksandrov <razor@blackwall.org>
Date: 2025-06-12 10:30:23
On 6/9/25 23:50, Petr Machata wrote:
ip6tunnel_xmit() erases the contents of the SKB control block. In order to be able to set particular IP6CB flags on the SKB, add a corresponding parameter, and propagate it to udp_tunnel6_xmit_skb() as well. In one of the following patches, VXLAN driver will use this facility to mark packets as subject to IPv6 multicast routing. Signed-off-by: Petr Machata <petrm@nvidia.com> Reviewed-by: Ido Schimmel <idosch@nvidia.com> --- Notes: CC:Pablo Neira Ayuso [off-list ref] CC:osmocom-net-gprs@lists.osmocom.org CC:Andrew Lunn [off-list ref] CC:Antonio Quartulli [off-list ref] CC:"Jason A. Donenfeld" [off-list ref] CC:wireguard@lists.zx2c4.com CC:Marcelo Ricardo Leitner [off-list ref] CC:linux-sctp@vger.kernel.org CC:Jon Maloy [off-list ref] CC:tipc-discussion@lists.sourceforge.net drivers/net/bareudp.c | 3 ++- drivers/net/geneve.c | 3 ++- drivers/net/gtp.c | 2 +- drivers/net/ovpn/udp.c | 2 +- drivers/net/vxlan/vxlan_core.c | 3 ++- drivers/net/wireguard/socket.c | 2 +- include/net/ip6_tunnel.h | 3 ++- include/net/udp_tunnel.h | 3 ++- net/ipv6/ip6_tunnel.c | 2 +- net/ipv6/ip6_udp_tunnel.c | 5 +++-- net/sctp/ipv6.c | 2 +- net/tipc/udp_media.c | 2 +- 12 files changed, 19 insertions(+), 13 deletions(-)
Reviewed-by: Nikolay Aleksandrov <razor@blackwall.org>