summaryrefslogtreecommitdiffstats
path: root/lib/libcrypto/comp/c_rle.c
diff options
context:
space:
mode:
authormpi <mpi@openbsd.org>2014-11-03 11:02:08 +0000
committermpi <mpi@openbsd.org>2014-11-03 11:02:08 +0000
commitc1beb7967117432da75cc7ad7d3a2a222dd2fae6 (patch)
tree6b64586c91d5aef7cf6e65feba631dd0babea33f /lib/libcrypto/comp/c_rle.c
parentConvert the logic in yyerror(). Instead of creating a temporary (diff)
downloadwireguard-openbsd-c1beb7967117432da75cc7ad7d3a2a222dd2fae6.tar.xz
wireguard-openbsd-c1beb7967117432da75cc7ad7d3a2a222dd2fae6.zip
Do no change the gateway of local routes for p2p interfaces.
This change was defeating the code in rtrequest1(9) checking for route entries with the same dst/gw when the same IP address was configured on multiple interfaces. As a result, multiple local routes were created for the same address and marked as multipath. But changing their gateway to 127.0.0.1 would make them similar and impossible to remove. This would leaves entries with a stall ifa pointer as soon as the address was removed. Prevent a panic reported by todd@
Diffstat (limited to 'lib/libcrypto/comp/c_rle.c')
0 files changed, 0 insertions, 0 deletions