Page MenuHomeFreeBSD

D30994.diff
No OneTemporary

D30994.diff

diff --git a/sys/netipsec/ipsec_output.c b/sys/netipsec/ipsec_output.c
--- a/sys/netipsec/ipsec_output.c
+++ b/sys/netipsec/ipsec_output.c
@@ -322,6 +322,12 @@
sav = ipsec4_allocsa(m, sp, &idx, &error);
if (sav == NULL) {
key_freesp(&sp);
+ /*
+ * No matching SA was found and SADB_ACQUIRE message was generated.
+ * Since we have matched a SP to this packet drop it silently.
+ */
+ if (error == 0)
+ error = EINPROGRESS;
if (error != EJUSTRETURN)
m_freem(m);

File Metadata

Mime Type
text/plain
Expires
Wed, Jan 15, 10:33 PM (17 h, 48 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15816118
Default Alt Text
D30994.diff (488 B)

Event Timeline