aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorarchie <archie@FreeBSD.org>2003-11-11 06:31:28 +0800
committerarchie <archie@FreeBSD.org>2003-11-11 06:31:28 +0800
commitb849053a6f88074cfe378371908f6ec3f9911e8b (patch)
tree2876bd079f5ba697e60782f8ac02aaf43d41768a /security
parente346e1d1ddecfd2c9772eedc4390a4f5336ae3cc (diff)
downloadfreebsd-ports-gnome-b849053a6f88074cfe378371908f6ec3f9911e8b.tar.gz
freebsd-ports-gnome-b849053a6f88074cfe378371908f6ec3f9911e8b.tar.zst
freebsd-ports-gnome-b849053a6f88074cfe378371908f6ec3f9911e8b.zip
Fix kernel panic when IPSec also in use. Also fix patch permissions problem.
PR: ports/35631 Submitted by: David Hedley <david@inty.net>
Diffstat (limited to 'security')
-rw-r--r--security/skip/files/patch-bs9
-rw-r--r--security/skip/scripts/pre-patch2
2 files changed, 10 insertions, 1 deletions
diff --git a/security/skip/files/patch-bs b/security/skip/files/patch-bs
index a1e80e6fdcde..9902f4c50c3f 100644
--- a/security/skip/files/patch-bs
+++ b/security/skip/files/patch-bs
@@ -245,6 +245,15 @@ diff -ur --unidirectional-new-file skipsrc-1.0.orig/skip/freebsd/skip_es.c work.
skip_param_t params;
skip_hdr_t skip_hdr;
skip_es_hash_t *entry, **acl;
+@@ -1408,7 +1436,7 @@
+ panic("skip_ifinput: mtod returned NULL!");
+ }
+
+- if (!SKIP_IF(ifp)) {
++ if (!ifp || !SKIP_IF(ifp)) {
+ /*
+ * SKIP not present on this interface, pass the packet
+ */
@@ -1718,7 +1747,7 @@
*/
decryptbuf->m_data += iphlen;
diff --git a/security/skip/scripts/pre-patch b/security/skip/scripts/pre-patch
index 9fa1b350181d..87600563f35e 100644
--- a/security/skip/scripts/pre-patch
+++ b/security/skip/scripts/pre-patch
@@ -4,7 +4,7 @@
# Set user-writable flags so patch(1) doesn't trip up.
#
-FIXDIRS="${WRKSRC}/skip/man ${WRKSRC}/admin"
+FIXDIRS="${WRKSRC}/skip/man ${WRKSRC}/admin ${WRKSRC}/certs/lib ${WRKSRC}/skip/bdcmod/des_ecb"
for DIR in ${FIXDIRS}; do
chmod -R u+w ${DIR}