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(a)nvidia.com>
Reviewed-by: Ido Schimmel <idosch(a)nvidia.com>
---
Notes:
CC: Pablo Neira Ayuso <pablo(a)netfilter.org>
CC: osmocom-net-gprs(a)lists.osmocom.org
CC: Andrew Lunn <andrew+netdev(a)lunn.ch>
CC: Taehee Yoo <ap420073(a)gmail.com>
CC: Antonio Quartulli <antonio(a)openvpn.net>
CC: "Jason A. Donenfeld" <Jason(a)zx2c4.com>
CC: wireguard(a)lists.zx2c4.com
CC: Marcelo Ricardo Leitner <marcelo.leitner(a)gmail.com>
CC: linux-sctp(a)vger.kernel.org
CC: Jon Maloy <jmaloy(a)redhat.com>
CC: tipc-discussion(a)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(a)blackwall.org>