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)
Sat, Dec 14, 4:20 PM
Unknown Object (File)
Nov 24 2024, 4:25 AM
Unknown Object (File)
Nov 20 2024, 8:57 PM
Unknown Object (File)
Nov 20 2024, 10:44 AM
Unknown Object (File)
Nov 20 2024, 10:28 AM
Unknown Object (File)
Nov 20 2024, 8:37 AM
Unknown Object (File)
Nov 19 2024, 2:25 PM
Unknown Object (File)
Sep 27 2024, 12:23 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