summaryrefslogtreecommitdiff
path: root/scripts/lib/kdoc/kdoc_parser.py
diff options
context:
space:
mode:
authorRalf Lici <ralf@mandelbit.com>2025-06-04 15:11:58 +0200
committerAntonio Quartulli <antonio@openvpn.net>2025-07-16 11:50:51 +0200
commit4c88cfcc6738466a33778c346061f7507403276a (patch)
treea0e31aa42b45ea9c6da6007a5ec679197a2b76a8 /scripts/lib/kdoc/kdoc_parser.py
parentdae7f9cbd1909de2b0bccc30afef95c23f93e477 (diff)
ovpn: propagate socket mark to skb in UDP
OpenVPN allows users to configure a FW mark on sockets used to communicate with other peers. The mark is set by means of the `SO_MARK` Linux socket option. However, in the ovpn UDP code path, the socket's `sk_mark` value is currently ignored and it is not propagated to outgoing `skbs`. This commit ensures proper inheritance of the field by setting `skb->mark` to `sk->sk_mark` before handing the `skb` to the network stack for transmission. Fixes: 08857b5ec5d9 ("ovpn: implement basic TX path (UDP)") Reviewed-by: Sabrina Dubroca <sd@queasysnail.net> Signed-off-by: Ralf Lici <ralf@mandelbit.com> Link: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg31877.html Signed-off-by: Antonio Quartulli <antonio@openvpn.net>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions