Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F107488518
D30994.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
488 B
Referenced Files
None
Subscribers
None
D30994.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D30994: Return error code if no matching SA was found
Attached
Detach File
Event Timeline
Log In to Comment