diff options
author | 2015-11-09 10:26:26 +0000 | |
---|---|---|
committer | 2015-11-09 10:26:26 +0000 | |
commit | 9e08ef8c46fc0e41f085edca4f56af3212b4ec13 (patch) | |
tree | aed8403f2b6701d2652860d8d37cafa85f9c273f /usr.sbin/cron/crontab.c | |
parent | use IFQ_DEQUEUE to pull of the send queue. (diff) | |
download | wireguard-openbsd-9e08ef8c46fc0e41f085edca4f56af3212b4ec13.tar.xz wireguard-openbsd-9e08ef8c46fc0e41f085edca4f56af3212b4ec13.zip |
Rewrite rtalloc(9) to consider RTF_GATEWAY entries without valid next-
hop route as invalid.
Previously when such entrie was returned by rtalloc(9) a second route
lookup was done in rt_checkgate() very late in the journey of a packet.
In other words a single rtalloc(9) call can now result in multiple
route lookups if a RTF_GATEWAY entry is returned.
This is a step towards always calling L2 output functions with valid
destination information.
Tested by various including jmc@, naddy@, Hrvoje Popovski
Diffstat (limited to 'usr.sbin/cron/crontab.c')
0 files changed, 0 insertions, 0 deletions