summaryrefslogtreecommitdiffstats
path: root/usr.bin/diff/xmalloc.h
diff options
context:
space:
mode:
authormpi <mpi@openbsd.org>2015-11-12 14:29:04 +0000
committermpi <mpi@openbsd.org>2015-11-12 14:29:04 +0000
commit66848ccafe95dbb0b70031750a310c773dd03464 (patch)
tree658124e23e14b0642813cf9fb6071360a15c4823 /usr.bin/diff/xmalloc.h
parentMove cron socket to /var/run/cron.sock. Client code will try the old (diff)
downloadwireguard-openbsd-66848ccafe95dbb0b70031750a310c773dd03464.tar.xz
wireguard-openbsd-66848ccafe95dbb0b70031750a310c773dd03464.zip
Allocate root tables on demand an free them like any other table.
With this change we no longer waste some precious Kb for unused routing tables like the AF_MPLS one or those with rtableid != 0. This will also simplify the SRP dance during lookups.
Diffstat (limited to 'usr.bin/diff/xmalloc.h')
0 files changed, 0 insertions, 0 deletions