Page MenuHomeFreeBSD

if_enc(4): Make enc_add_hhooks() never fail
ClosedPublic

Authored by zlei on Sep 24 2024, 2:37 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Jan 9, 7:58 AM
Unknown Object (File)
Fri, Dec 13, 1:57 PM
Unknown Object (File)
Nov 21 2024, 12:31 PM
Unknown Object (File)
Nov 14 2024, 4:25 PM
Unknown Object (File)
Nov 14 2024, 12:41 AM
Unknown Object (File)
Nov 12 2024, 1:56 PM
Unknown Object (File)
Nov 7 2024, 7:03 PM
Unknown Object (File)
Nov 5 2024, 3:53 AM

Details

Summary

hhook_add_hook() will not fail for the given parameters. Meanwhile
if_enc(4) requires INET and/or INET6 so no error EPFNOSUPPORT needed.

No functional change intended.

MFC after: 1 week

Diff Detail

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