Page MenuHomeFreeBSD

if_ovpn: Remove a no-op function
ClosedPublic

Authored by markj on Jul 24 2025, 4:18 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Oct 11, 8:58 AM
Unknown Object (File)
Sun, Oct 11, 3:52 AM
Unknown Object (File)
Mon, Oct 5, 10:44 PM
Unknown Object (File)
Mon, Oct 5, 9:04 AM
Unknown Object (File)
Sun, Oct 4, 8:56 PM
Unknown Object (File)
Sun, Oct 4, 8:25 PM
Unknown Object (File)
Sun, Oct 4, 2:07 PM
Unknown Object (File)
Sun, Oct 4, 4:05 AM

Details

Summary

ovpn used to maintain one socket ref per peer. This was removed in
commit 3acf7e0da487 ("if_ovpn: avoid LOR between ovpn and UDP locks"),
which turned ovpn_rele_so() in a no-op. Just remove the whole function
and a related helper, as the remaining assertion there isn't useful.

No functional change intended.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable