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)
Sun, Jul 5, 7:29 AM
Unknown Object (File)
Sat, Jul 4, 6:33 AM
Unknown Object (File)
Sat, Jul 4, 6:30 AM
Unknown Object (File)
Sat, Jul 4, 4:36 AM
Unknown Object (File)
Sat, Jul 4, 4:32 AM
Unknown Object (File)
Thu, Jul 2, 12:44 PM
Unknown Object (File)
Thu, Jul 2, 12:37 PM
Unknown Object (File)
Thu, Jun 25, 10:36 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