FreeBSD Bugzilla – Attachment 205744 Details for
Bug 238796
ipfilter: failure to detect the same rules when arguments ordered differently
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Revert part of ip_fil.h cvs rev r1.31
PR238796-ip_fil.h-revert_1.31.diff (text/plain), 951 bytes, created by
Cy Schubert
on 2019-07-13 05:45:44 UTC
(
hide
)
Description:
Revert part of ip_fil.h cvs rev r1.31
Filename:
MIME Type:
Creator:
Cy Schubert
Created:
2019-07-13 05:45:44 UTC
Size:
951 bytes
patch
obsolete
>diff --git a/sys/contrib/ipfilter/netinet/ip_fil.h b/sys/contrib/ipfilter/netinet/ip_fil.h >index 4b3beb8cc60..e7ca49ba928 100644 >--- a/sys/contrib/ipfilter/netinet/ip_fil.h >+++ b/sys/contrib/ipfilter/netinet/ip_fil.h >@@ -686,7 +686,6 @@ typedef struct frentry { > int fr_ref; /* reference count */ > int fr_statecnt; /* state count - for limit rules */ > u_32_t fr_die; /* only used on loading the rule */ >- u_int fr_cksum; /* checksum on filter rules for performance */ > /* > * The line number from a file is here because we need to be able to > * match the rule generated with ``grep rule ipf.conf | ipf -rf -'' >@@ -754,6 +753,11 @@ typedef struct frentry { > */ > int fr_namelen; > char fr_names[1]; >+ /* >+ * This must be last and will change after loaded into the kernel. >+ * XXX: Moving this is career limiting. >+ */ >+ u_int fr_cksum; /* checksum on filter rules for performance */ > } frentry_t; > > #define fr_lastpkt fr_lpu.frp_lastpkt
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 238796
:
205322
|
205341
|
205744
|
205808
|
205851
|
206344
|
206385