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
F152650562: D33226.diff
Thu, Apr 16, 6:56 AM
F152646981: D33226.diff
Thu, Apr 16, 6:19 AM
Unknown Object (File)
Mon, Apr 13, 9:08 AM
Unknown Object (File)
Sun, Apr 12, 9:39 PM
Unknown Object (File)
Sat, Apr 11, 11:32 PM
Unknown Object (File)
Mon, Mar 30, 2:57 PM
Unknown Object (File)
Mar 12 2026, 1:57 AM
Unknown Object (File)
Mar 11 2026, 8:22 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