Re: [Openvpn-devel] [PATCH ovpn-net-next] ovpn: propagate socket mark to skb in UDP

2025-06-12 Thread Antonio Quartulli
On 04/06/2025 15:11, Ralf Lici wrote: openvpn implements the `--mark` option, which utilizes the `SO_MARK` Linux socket option. However, in the UDP code path, the socket's `sk_mark` value is not currently propagated to `skb` objects that pass through our socket. This commit ensures proper inheri

[Openvpn-devel] [PATCH ovpn-net-next] ovpn: propagate socket mark to skb in UDP

2025-06-04 Thread Ralf Lici
openvpn implements the `--mark` option, which utilizes the `SO_MARK` Linux socket option. However, in the UDP code path, the socket's `sk_mark` value is not currently propagated to `skb` objects that pass through our socket. This commit ensures proper inheritance of the field by assigning `sk_mark