Blame SOURCES/libreswan-3.23-del-with-notify-1630355.patch

0a8476
diff -Naur libreswan-3.25-orig/programs/pluto/ikev1.c libreswan-3.25/programs/pluto/ikev1.c
0a8476
--- libreswan-3.25-orig/programs/pluto/ikev1.c	2018-06-27 22:42:26.000000000 +0700
0a8476
+++ libreswan-3.25/programs/pluto/ikev1.c	2018-11-22 20:04:44.961824151 +0700
0a8476
@@ -727,28 +727,7 @@
0a8476
 			return dpd_inR(st, n, n_pbs);
0a8476
 
0a8476
 		case PAYLOAD_MALFORMED:
0a8476
-			if (st != NULL) {
0a8476
-				st->hidden_variables.st_malformed_received++;
0a8476
-
0a8476
-				libreswan_log(
0a8476
-					"received %u malformed payload notifies",
0a8476
-					st->hidden_variables.st_malformed_received);
0a8476
-
0a8476
-				if (st->hidden_variables.st_malformed_sent >
0a8476
-				    MAXIMUM_MALFORMED_NOTIFY / 2 &&
0a8476
-				    ((st->hidden_variables.st_malformed_sent +
0a8476
-				      st->hidden_variables.
0a8476
-				      st_malformed_received) >
0a8476
-				     MAXIMUM_MALFORMED_NOTIFY)) {
0a8476
-					libreswan_log(
0a8476
-						"too many malformed payloads (we sent %u and received %u",
0a8476
-						st->hidden_variables.st_malformed_sent,
0a8476
-						st->hidden_variables.st_malformed_received);
0a8476
-					delete_state(st);
0a8476
-					md->st = st = NULL;
0a8476
-				}
0a8476
-			}
0a8476
-
0a8476
+			libreswan_log("received PAYLOAD_MALFORMED");
0a8476
 			return STF_IGNORE;
0a8476
 
0a8476
 		case ISAKMP_N_CISCO_LOAD_BALANCE: