summaryrefslogtreecommitdiffstats
path: root/sys/net/if_tun.c
diff options
context:
space:
mode:
authorthib <thib@openbsd.org>2010-07-08 08:12:48 +0000
committerthib <thib@openbsd.org>2010-07-08 08:12:48 +0000
commit984de8ae83b57883d6276e95a612701f2aacf39f (patch)
tree69933c5b252e8d7219eeefd196786a61e4610e71 /sys/net/if_tun.c
parent- use nitems() where applicable (diff)
downloadwireguard-openbsd-984de8ae83b57883d6276e95a612701f2aacf39f.tar.xz
wireguard-openbsd-984de8ae83b57883d6276e95a612701f2aacf39f.zip
Move pool initialization to init_crypto and zap the crypto_pool_initialized
variable. This way we don't have to check if the pool are initialized every time we do a crypto_getreq(). Move splvm lower as it isnt need all through crypto_newsession(). tiny KNF nit. From mikeb OK deraadt@
Diffstat (limited to 'sys/net/if_tun.c')
0 files changed, 0 insertions, 0 deletions