summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/malloc.c
diff options
context:
space:
mode:
authormpf <mpf@openbsd.org>2011-04-29 12:36:31 +0000
committermpf <mpf@openbsd.org>2011-04-29 12:36:31 +0000
commit43ca4d682b2eb264848dde5e41ed54e3990325d5 (patch)
tree7a98f673d1a31bf645f9dc6671d65b4a3425302d /lib/libc/stdlib/malloc.c
parentAdd BUGS section explaining that these functions do not cover the entire (diff)
downloadwireguard-openbsd-43ca4d682b2eb264848dde5e41ed54e3990325d5.tar.xz
wireguard-openbsd-43ca4d682b2eb264848dde5e41ed54e3990325d5.zip
The previous reconfiguration change broke IPv6 only setups.
The address hook was only registered for v4 addresses. We now call hook_establish at interface creation time. The hook is now disestablished upon interface destroy, which plugs a tiny memleak. While there remove redundancy in carp_set_addr6 and sync it with carp_set_addr. Bug noticed by todd@. OK sthen, mikeb (on an earlier version) OK and some hints by camield@
Diffstat (limited to 'lib/libc/stdlib/malloc.c')
0 files changed, 0 insertions, 0 deletions