diff options
author | Jan Maria Matejka <mq@ucw.cz> | 2018-06-19 16:16:08 +0200 |
---|---|---|
committer | Jan Maria Matejka <mq@ucw.cz> | 2018-06-19 16:51:40 +0200 |
commit | 1771f70d7473b8c8e0c6bd47d5c35cc5fbe7eb19 (patch) | |
tree | 3f8b9cb90d20d69cb0328453ba22627206002264 /proto/radv | |
parent | 1ef23f05ee00394e6a2748f658b73c20d3ff7c45 (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 'proto/radv')
0 files changed, 0 insertions, 0 deletions