CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]    2015/06/29 05:04:16

Modified files:
        sys/net        : route.c 

Log message:
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@

Reply via email to