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)
Sat, Apr 4, 2:16 PM
Unknown Object (File)
Sun, Mar 29, 12:59 AM
Unknown Object (File)
Tue, Mar 17, 4:50 PM
Unknown Object (File)
Tue, Mar 17, 9:54 AM
Unknown Object (File)
Mon, Mar 16, 7:06 AM
Unknown Object (File)
Sat, Mar 14, 8:07 AM
Unknown Object (File)
Sat, Mar 14, 3:01 AM
Unknown Object (File)
Sat, Mar 14, 1:12 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 Skipped
Unit
Tests Skipped
Build Status
Buildable 65662
Build 62545: arc lint + arc unit