CVSROOT: /cvs Module name: src Changes by: m...@cvs.openbsd.org 2018/09/27 06:36:57
Modified files: sys/net : route.c Log message: Make sure the L2 entry is cloned before dereferencing its parent. RTF_LOCAL entries or static ARP entries don't have parents, so the logic was incorrect. Note that it might be possible to extend the logic to work with non-cloned L2 entries but the few use cases do not justify the complexity (yet). Problem reported & fix tested by Elie Bouttier. ok bluhm@, visa@, claudio@