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)
Mon, Oct 5, 12:31 AM
Unknown Object (File)
Thu, Oct 1, 9:40 AM
Unknown Object (File)
Thu, Oct 1, 9:24 AM
Unknown Object (File)
Wed, Sep 30, 7:52 PM
Unknown Object (File)
Wed, Sep 30, 5:43 PM
Unknown Object (File)
Tue, Sep 29, 10:13 PM
Unknown Object (File)
Mon, Sep 21, 12:43 AM
Unknown Object (File)
Aug 31 2026, 7:02 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