diff options
author | 2016-08-22 16:01:52 +0000 | |
---|---|---|
committer | 2016-08-22 16:01:52 +0000 | |
commit | c370e97f3691267558b334b6666d28cc816b135e (patch) | |
tree | 34571539386931f9df54250385e9782037881104 /lib/libtls/tls_conninfo.c | |
parent | Do not dereference ``rt->rt_ifa'' after calling rtfree(9). (diff) | |
download | wireguard-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