CVSROOT:        /cvs
Module name:    src
Changes by:     st...@cvs.openbsd.org   2016/06/06 04:16:23

Modified files:
        sys/netinet6   : nd6.c 

Log message:
Move nd6_output()'s "short-circuiting" for non-lladdr interface types earlier.

nd6.c's nd6_output() decides whether link-layer address resolution is needed
before sending the packet. Up to r1.178 packets for many non-ethernet interface
types were sent directly without checking the gateway or determining if link-
layer address resolution was needed. In r1.179 this was changed to skip some
decision making for gif(4) but moved the short-circuiting for those interface
types to *after* the gateway was checked. In my v6 pppoe setup, rt_checkgate
is returning EHOSTUNREACH so this move prevented it from working.

ok mpi@

Reply via email to