FreeBSD Bugzilla – Attachment 151094 Details for
Bug 183198
[pf] pf tables not loaded if only used inside anchor
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
pf table keep active flag conditions
freebsd.0002-fix-table-reference-from-inline-anchor.patch (text/plain), 823 bytes, created by
krichy
on 2014-12-29 22:07:13 UTC
(
hide
)
Description:
pf table keep active flag conditions
Filename:
MIME Type:
Creator:
krichy
Created:
2014-12-29 22:07:13 UTC
Size:
823 bytes
patch
obsolete
>From fbb4d5e588eb6d462afdcde309cd39572f648982 Mon Sep 17 00:00:00 2001 >From: Richard Kojedzinszky <krichy@cflinux.hu> >Date: Mon, 29 Dec 2014 20:56:12 +0100 >Subject: [PATCH 2/2] fix table reference from inline anchor > >--- > sys/netpfil/pf/pf_table.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > >diff --git a/sys/netpfil/pf/pf_table.c b/sys/netpfil/pf/pf_table.c >index 595a365..4f1c21c 100644 >--- a/sys/netpfil/pf/pf_table.c >+++ b/sys/netpfil/pf/pf_table.c >@@ -1746,7 +1746,8 @@ pfr_setflags_ktable(struct pfr_ktable *kt, int newf) > PF_RULES_WASSERT(); > > if (!(newf & PFR_TFLAG_REFERENCED) && >- !(newf & PFR_TFLAG_PERSIST)) >+ !(newf & PFR_TFLAG_PERSIST) && >+ !(newf & PFR_TFLAG_REFDANCHOR)) > newf &= ~PFR_TFLAG_ACTIVE; > if (!(newf & PFR_TFLAG_ACTIVE)) > newf &= ~PFR_TFLAG_USRMASK; >-- >1.8.4.2 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 183198
:
151017
|
151030
|
151074
| 151094