[PATCH net-next 01/14] net: ipv4: Add a flags argument to iptunnel_xmit(), udp_tunnel_xmit_skb()

Nikolay Aleksandrov razor at blackwall.org
Thu Jun 12 10:28:19 UTC 2025


On 6/9/25 23:50, Petr Machata wrote:
> iptunnel_xmit() erases the contents of the SKB control block. In order to
> be able to set particular IPCB flags on the SKB, add a corresponding
> parameter, and propagate it to udp_tunnel_xmit_skb() as well.
> 
> In one of the following patches, VXLAN driver will use this facility to
> mark packets as subject to IP multicast routing.
> 
> Signed-off-by: Petr Machata <petrm at nvidia.com>
> Reviewed-by: Ido Schimmel <idosch at nvidia.com>
> ---
> 
> Notes:
> CC: Pablo Neira Ayuso <pablo at netfilter.org>
> CC: osmocom-net-gprs at lists.osmocom.org
> CC: Andrew Lunn <andrew+netdev at lunn.ch>
> CC: Taehee Yoo <ap420073 at gmail.com>
> CC: Antonio Quartulli <antonio at openvpn.net>
> CC: "Jason A. Donenfeld" <Jason at zx2c4.com>
> CC: wireguard at lists.zx2c4.com
> CC: Marcelo Ricardo Leitner <marcelo.leitner at gmail.com>
> CC: linux-sctp at vger.kernel.org
> CC: Jon Maloy <jmaloy at redhat.com>
> CC: tipc-discussion at lists.sourceforge.net
> 
>   drivers/net/amt.c              |  9 ++++++---
>   drivers/net/bareudp.c          |  4 ++--
>   drivers/net/geneve.c           |  4 ++--
>   drivers/net/gtp.c              | 10 ++++++----
>   drivers/net/ovpn/udp.c         |  2 +-
>   drivers/net/vxlan/vxlan_core.c |  2 +-
>   drivers/net/wireguard/socket.c |  2 +-
>   include/net/ip_tunnels.h       |  2 +-
>   include/net/udp_tunnel.h       |  2 +-
>   net/ipv4/ip_tunnel.c           |  4 ++--
>   net/ipv4/ip_tunnel_core.c      |  4 +++-
>   net/ipv4/udp_tunnel_core.c     |  5 +++--
>   net/ipv6/sit.c                 |  2 +-
>   net/sctp/protocol.c            |  3 ++-
>   net/tipc/udp_media.c           |  2 +-
>   15 files changed, 33 insertions(+), 24 deletions(-)
> 

Reviewed-by: Nikolay Aleksandrov <razor at blackwall.org>



More information about the WireGuard mailing list