summaryrefslogtreecommitdiff
path: root/sysdep/bsd
diff options
context:
space:
mode:
authorJan Maria Matejka <mq@ucw.cz>2018-06-19 16:16:08 +0200
committerJan Maria Matejka <mq@ucw.cz>2018-06-19 16:51:40 +0200
commit1771f70d7473b8c8e0c6bd47d5c35cc5fbe7eb19 (patch)
tree3f8b9cb90d20d69cb0328453ba22627206002264 /sysdep/bsd
parent1ef23f05ee00394e6a2748f658b73c20d3ff7c45 (diff)
Filter: fixed eattr cached pointer
Use ACCESS_RTE to guard **f_rte, use ACCESS_EATTRS to guard **f_eattrs. Use f_rta_cow() before writing to rta or eattrs, use f_rte_cow() before writing preference (stored in rte). Do not access eattrs indirectly through (*f_rte)->attrs->eattrs, it is way too slow. The cached pointer is faster.
Diffstat (limited to 'sysdep/bsd')
0 files changed, 0 insertions, 0 deletions