diff options
author | 2014-11-03 11:02:08 +0000 | |
---|---|---|
committer | 2014-11-03 11:02:08 +0000 | |
commit | c1beb7967117432da75cc7ad7d3a2a222dd2fae6 (patch) | |
tree | 6b64586c91d5aef7cf6e65feba631dd0babea33f /lib/libcrypto/comp/c_rle.c | |
parent | Convert the logic in yyerror(). Instead of creating a temporary (diff) | |
download | wireguard-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