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
F102993325: D33226.diff
Tue, Nov 19, 2:25 PM
Unknown Object (File)
Sep 27 2024, 12:23 PM
Unknown Object (File)
Sep 24 2024, 8:55 AM
Unknown Object (File)
Sep 21 2024, 5:43 AM
Unknown Object (File)
Sep 9 2024, 5:44 PM
Unknown Object (File)
Sep 5 2024, 6:39 PM
Unknown Object (File)
Sep 5 2024, 6:35 PM
Unknown Object (File)
Sep 5 2024, 6:35 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