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
F102113733: D46770.diff
Thu, Nov 7, 7:03 PM
Unknown Object (File)
Tue, Nov 5, 3:53 AM
Unknown Object (File)
Sun, Nov 3, 1:00 PM
Unknown Object (File)
Sun, Nov 3, 12:18 PM
Unknown Object (File)
Fri, Nov 1, 7:41 PM
Unknown Object (File)
Fri, Nov 1, 7:40 PM
Unknown Object (File)
Fri, Nov 1, 7:40 PM
Unknown Object (File)
Fri, Nov 1, 11:17 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