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
F82727539: D33226.id99335.diff
Thu, May 2, 1:10 AM
Unknown Object (File)
Mon, Apr 22, 3:12 AM
Unknown Object (File)
Sat, Apr 6, 4:36 PM
Unknown Object (File)
Mar 25 2024, 2:57 AM
Unknown Object (File)
Mar 16 2024, 4:40 AM
Unknown Object (File)
Mar 14 2024, 4:13 PM
Unknown Object (File)
Mar 14 2024, 4:13 PM
Unknown Object (File)
Mar 14 2024, 4:13 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