diff options
author | 2015-06-29 11:04:16 +0000 | |
---|---|---|
committer | 2015-06-29 11:04:16 +0000 | |
commit | e67d2d73f81017fc0d301146dab5052f38059556 (patch) | |
tree | 0191a2543fdebc76be9895f23dc9a0c74639be08 /usr.sbin/syslogd/syslogd.c | |
parent | Add missing definition of "usb_interface_assoc_descriptor" needed to for (diff) | |
download | wireguard-openbsd-e67d2d73f81017fc0d301146dab5052f38059556.tar.xz wireguard-openbsd-e67d2d73f81017fc0d301146dab5052f38059556.zip |
Never cache a RTF_GATEWAY route as next hop for a gateway route.
This prevents rtentry loops when rt->rt_gwroute points to rt leading
to an infamous "rtentry leak" panic, easily triggered by dhclient(8)
trying to remove a route after resuming a machine.
This bug is at least 20 years old! 4.4BSD-Lite2 had a fix for it in
its X.25 output routine but apparently it never made it into OpenBSD.
ok claudio@
Diffstat (limited to 'usr.sbin/syslogd/syslogd.c')
0 files changed, 0 insertions, 0 deletions