summaryrefslogtreecommitdiffstats
path: root/lib/libtls/tls_conninfo.c
diff options
context:
space:
mode:
authormpi <mpi@openbsd.org>2016-08-22 16:01:52 +0000
committermpi <mpi@openbsd.org>2016-08-22 16:01:52 +0000
commitc370e97f3691267558b334b6666d28cc816b135e (patch)
tree34571539386931f9df54250385e9782037881104 /lib/libtls/tls_conninfo.c
parentDo not dereference ``rt->rt_ifa'' after calling rtfree(9). (diff)
downloadwireguard-openbsd-c370e97f3691267558b334b6666d28cc816b135e.tar.xz
wireguard-openbsd-c370e97f3691267558b334b6666d28cc816b135e.zip
Make the ``rt_gwroute'' pointer of RTF_GATEWAY entries immutable.
This means that no protection is needed to guarantee that the next hop route wont be modified by CPU1 while CPU0 is dereferencing it in a L2 resolution functions. While here also fix an ``ifa'' leak resulting in RTF_GATEWAY being always invalid. dlg@ likes it, inputs and ok bluhm@
Diffstat (limited to 'lib/libtls/tls_conninfo.c')
0 files changed, 0 insertions, 0 deletions