CVSROOT: /cvs Module name: src Changes by: m...@cvs.openbsd.org 2015/11/09 03:26:26
Modified files: sys/net : if_spppsubr.c route.c route.h rtsock.c Log message: 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