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