[Bug 260406] pfctl: Cannot allocate memory (after a time)

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 24 Dec 2021 14:27:34 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=260406

--- Comment #41 from tech-lists@zyxst.net ---
(In reply to Kristof Provost from comment #40)

The patch doesn't apply:

# patch < pfpatch2.patch
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff --git a/sys/netpfil/pf/pf_table.c b/sys/netpfil/pf/pf_table.c
|index 4cfe5d61e83e..859d5ad79775 100644
|--- a/sys/netpfil/pf/pf_table.c
|+++ b/sys/netpfil/pf/pf_table.c
--------------------------
Patching file sys/netpfil/pf/pf_table.c using Plan A...
patch: **** malformed patch at line 12: diff --git a/sbin/pfctl/pfctl.c
b/sbin/pfctl/pfctl.c

Looks like it might need a newline between the first patch and the second, so
tried that:

# patch < pfpatch2.patch
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff --git a/sys/netpfil/pf/pf_table.c b/sys/netpfil/pf/pf_table.c
|index 4cfe5d61e83e..859d5ad79775 100644
|--- a/sys/netpfil/pf/pf_table.c
|+++ b/sys/netpfil/pf/pf_table.c
--------------------------
Patching file sys/netpfil/pf/pf_table.c using Plan A...
Hunk #1 failed at 209.
1 out of 1 hunks failed--saving rejects to sys/netpfil/pf/pf_table.c.rej
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff --git a/sbin/pfctl/pfctl.c b/sbin/pfctl/pfctl.c
|index a0eec1b09289..22c689934c2d 100644
|--- a/sbin/pfctl/pfctl.c
|+++ b/sbin/pfctl/pfctl.c
--------------------------
Patching file sbin/pfctl/pfctl.c using Plan A...
Hunk #1 failed at 1918.
1 out of 1 hunks failed--saving rejects to sbin/pfctl/pfctl.c.rej
Hmm...  Ignoring the trailing garbage.
done

This is on:

% gvs
srctree last updated: Fri Dec 24 11:59:43 2021 +0000 version: 251915

-- 
You are receiving this mail because:
You are the assignee for the bug.