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
F132412405: D33226.diff
Thu, Oct 16, 5:32 PM
Unknown Object (File)
Sun, Oct 12, 10:45 PM
Unknown Object (File)
Tue, Sep 30, 7:17 PM
Unknown Object (File)
Tue, Sep 30, 10:03 AM
Unknown Object (File)
Sep 3 2025, 7:26 PM
Unknown Object (File)
Aug 15 2025, 12:40 AM
Unknown Object (File)
Aug 10 2025, 9:46 AM
Unknown Object (File)
Aug 6 2025, 11:31 AM

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