FreeBSD Bugzilla – Attachment 140489 Details for
Bug 187074
Crash cross compilation for MIPS
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 956 bytes, created by
misho
on 2014-02-25 21:40:00 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
misho
Created:
2014-02-25 21:40:00 UTC
Size:
956 bytes
patch
obsolete
>Index: sys/netpfil/pf/pf_ioctl.c >=================================================================== >--- sys/netpfil/pf/pf_ioctl.c (revision 262482) >+++ sys/netpfil/pf/pf_ioctl.c (working copy) >@@ -1353,12 +1353,12 @@ > * XXXGL: this is what happens when internal kernel > * structures are used as ioctl API structures. > */ >- pr->rule.states_cur = >- (counter_u64_t )counter_u64_fetch(rule->states_cur); >- pr->rule.states_tot = >- (counter_u64_t )counter_u64_fetch(rule->states_tot); >- pr->rule.src_nodes = >- (counter_u64_t )counter_u64_fetch(rule->src_nodes); >+ pr->rule.states_cur = (counter_u64_t) (uintptr_t) >+ counter_u64_fetch(rule->states_cur); >+ pr->rule.states_tot = (counter_u64_t) (uintptr_t) >+ counter_u64_fetch(rule->states_tot); >+ pr->rule.src_nodes = (counter_u64_t) (uintptr_t) >+ counter_u64_fetch(rule->src_nodes); > if (pf_anchor_copyout(ruleset, rule, pr)) { > PF_RULES_WUNLOCK(); > error = EBUSY;
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 187074
: 140489