Page MenuHomeFreeBSD

tcpmd5: return ENOENT when security association not found
ClosedPublic

Authored by rew on Dec 1 2021, 11:09 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Oct 25, 3:20 PM
Unknown Object (File)
Sat, Oct 25, 11:02 AM
Unknown Object (File)
Mon, Oct 20, 10:55 PM
Unknown Object (File)
Thu, Oct 16, 5:32 PM
Unknown Object (File)
Sun, Oct 12, 10:45 PM
Unknown Object (File)
Sep 30 2025, 7:17 PM
Unknown Object (File)
Sep 30 2025, 10:03 AM
Unknown Object (File)
Sep 3 2025, 7:26 PM

Details

Summary

Return ENOENT from tcp_ipsec_input() when a security association is not
found. This allows callers of TCP_MD5_INPUT() to differentiate between a
security association not found and receiving a bad signature.

Also return ENOENT from tcp_ipsec_output() for consistency.

Diff Detail

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