Hi, This series fixes a few issues that Sashiko reported while reviewing earlier ovpn patches and that were still present on current ovpn-net-next main. All of them are pre-existing problems, not regressions introduced by the patches under review, which is why they went unaddressed so far.
Patch 1 resets the peer dst cache before publishing a new bind when the remote or local endpoint changes. With the opposite order a concurrent TX could pair the new bind with a route cached for the old one, and on a cross-family float even get a dst of the wrong family. Patch 2 drops the netdev reference from the peer RCU callback instead of right after call_rcu, where the peer could already have been freed. Patch 3 makes the duplicate VPN address selftests require the expected error, so that they cannot pass on an unrelated failure. Each patch links to the Sashiko report it addresses. Thanks, Ralf Lici Mandelbit Srl --- Ralf Lici (3): ovpn: reset dst cache before publishing a new bind ovpn: release netdev reference from the peer RCU callback selftests: ovpn: check the error of duplicate VPN address tests drivers/net/ovpn/netlink.c | 7 +++++- drivers/net/ovpn/peer.c | 15 ++++++++----- tools/testing/selftests/net/ovpn/common.sh | 21 +++++++++++++++++ tools/testing/selftests/net/ovpn/test.sh | 26 ++++++++++++++++------ 4 files changed, 55 insertions(+), 14 deletions(-) base-commit: 7ccc5e05043b1bb84326b19a2b05938d8f7a2ae6 -- 2.56.0 _______________________________________________ Openvpn-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openvpn-devel
