Page MenuHomeFreeBSD

libalias unused var fix proposal
Needs ReviewPublic

Authored by devnexen_gmail.com on Dec 23 2021, 10:10 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Apr 16, 5:09 AM
Unknown Object (File)
Tue, Apr 16, 2:55 AM
Unknown Object (File)
Feb 22 2024, 8:40 AM
Unknown Object (File)
Dec 20 2023, 4:53 AM
Unknown Object (File)
Sep 16 2023, 10:22 PM
Unknown Object (File)
Jun 29 2023, 11:49 AM
Unknown Object (File)
Jun 27 2023, 8:07 PM
Unknown Object (File)
May 9 2023, 11:37 PM

Details

Reviewers
sobomax
donner
Summary

reusing find_handler return for UDP/TCP

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

Only alias_nbt.c may return any negative result. Even if no handler is suitable, the returned value from alias_mod.c would be positive (2). Every other handler always returns zero.

So the question is, what's the result of passing through a packet which can't be handled by a special purpose handler? Is it better to send out the packet with the un-natted original IP addresses or should be packet be processed without any internal inspection? Is PKT_ALIAS_ERROR more appropriate?