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)
Fri, May 10, 1:34 AM
Unknown Object (File)
Thu, May 9, 5:24 PM
Unknown Object (File)
Thu, May 9, 11:42 AM
Unknown Object (File)
Thu, May 9, 7:16 AM
Unknown Object (File)
Thu, May 9, 5:47 AM
Unknown Object (File)
Tue, May 7, 3:54 AM
Unknown Object (File)
Thu, May 2, 1:10 AM
Unknown Object (File)
Mon, Apr 22, 3:12 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