|
Lines 1353-1364
Link Here
|
| 1353 |
* XXXGL: this is what happens when internal kernel |
1353 |
* XXXGL: this is what happens when internal kernel |
| 1354 |
* structures are used as ioctl API structures. |
1354 |
* structures are used as ioctl API structures. |
| 1355 |
*/ |
1355 |
*/ |
| 1356 |
pr->rule.states_cur = |
1356 |
pr->rule.states_cur = (counter_u64_t) (uintptr_t) |
| 1357 |
(counter_u64_t )counter_u64_fetch(rule->states_cur); |
1357 |
counter_u64_fetch(rule->states_cur); |
| 1358 |
pr->rule.states_tot = |
1358 |
pr->rule.states_tot = (counter_u64_t) (uintptr_t) |
| 1359 |
(counter_u64_t )counter_u64_fetch(rule->states_tot); |
1359 |
counter_u64_fetch(rule->states_tot); |
| 1360 |
pr->rule.src_nodes = |
1360 |
pr->rule.src_nodes = (counter_u64_t) (uintptr_t) |
| 1361 |
(counter_u64_t )counter_u64_fetch(rule->src_nodes); |
1361 |
counter_u64_fetch(rule->src_nodes); |
| 1362 |
if (pf_anchor_copyout(ruleset, rule, pr)) { |
1362 |
if (pf_anchor_copyout(ruleset, rule, pr)) { |
| 1363 |
PF_RULES_WUNLOCK(); |
1363 |
PF_RULES_WUNLOCK(); |
| 1364 |
error = EBUSY; |
1364 |
error = EBUSY; |