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)
Wed, Apr 23, 2:05 AM
Unknown Object (File)
Mon, Apr 14, 12:17 AM
Unknown Object (File)
Sun, Apr 13, 9:29 PM
Unknown Object (File)
Wed, Apr 9, 1:54 PM
Unknown Object (File)
Mar 26 2025, 11:03 PM
Unknown Object (File)
Mar 15 2025, 9:50 AM
Unknown Object (File)
Mar 13 2025, 11:09 AM
Unknown Object (File)
Feb 24 2025, 9:44 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