summaryrefslogtreecommitdiff
path: root/distrib/sets/lists
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2010-11-17 19:34:50 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2010-11-17 19:34:50 +0000
commite47e2ee1b2f723ee7e12b626c2eeb0e76036c170 (patch)
tree94b0f98fc923d241e6a12d157149770919dc01f6 /distrib/sets/lists
parentfba69b74bcc33f33bfb568967517a2990fa781bd (diff)
maintain an RB tree of ifaddrs in the system (addresses and broadcast addrs,
the latter is also the dest addr on P2P interfaces) for faster lookups in the future. walking the linked list of all interfaces in the system to walk the linked list of addresses on each of them isn't particularily fast, especially with many interfaces and addresses. written at n2k10 in australia in january, but had to be backed out. the offenders have been fixed: -ipvshit rtsol code calling these functions in interrupt context (surprised this hasn't caused more havoc) -various places in the stack added empty ifaddr structs, filling them in later -sloppy recycling of ifaddrs in some places finished at j2k10 in japan in september tested by many, ok sthen krw dlg claudio
Diffstat (limited to 'distrib/sets/lists')
0 files changed, 0 insertions, 0 deletions