[Openvpn-devel] [PATCH ovpn net 0/5] ovpn: fix UDP route cache and endpoint handling
Ralf Lici <[email protected]> Tue, 28 Jul 2026 17:50:10 +0200
| Newsgroups | net.sourceforge.lists.openvpn-devel |
|---|---|
| Message-ID | <[email protected]> |
Hi, This series fixes several related issues in ovpn's UDP endpoint and route-cache handling. It preserves IPv6 scope IDs supplied through netlink, handles unspecified source addresses correctly, invalidates cached routes when mutable socket route inputs change, avoids in-place updates of RCU-published peer binds, and prevents stale IPv6 routes from being cached across FIB updates. Support for honoring UDP sockets bound to a device or local address will follow separately for net-next, after these route-cache fixes are available there. Cheers, Ralf Lici Mandelbit Srl --- Ralf Lici (5): ovpn: preserve IPv6 scope id for netlink peer endpoints ovpn: skip UDP source validation for unspecified addresses ovpn: track UDP socket route key for peer dst cache ovpn: avoid in-place updates of peer bind local address ovpn: avoid caching stale IPv6 dst after FIB changes drivers/net/ovpn/netlink.c | 6 ++ drivers/net/ovpn/peer.c | 37 ++++--- drivers/net/ovpn/peer.h | 19 +++- drivers/net/ovpn/udp.c | 212 ++++++++++++++++++++++++++++++------- include/net/dst_cache.h | 13 +++ net/core/dst_cache.c | 16 ++- 6 files changed, 248 insertions(+), 55 deletions(-) -- 2.54.0 _______________________________________________ Openvpn-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openvpn-devel