CVSROOT: /cvs Module name: src Changes by: m...@cvs.openbsd.org 2014/11/25 06:10:03
Modified files: sys/net : pfkeyv2.c sys/netinet : ip_ipsp.h ip_spd.c Log message: The proliferation of "struct route" in all its flavors didn't make any good to our network stack. The most visible effect is the maze of #ifdef's and casts. But the real problem is the very fragile way of checking if a (cached) route entry is still valid or not. What should we do if the route jumped to another ifaddr or if its gateway has been changed? This change start the dance of "struct route" & friends removal by sending the completly useless "struct route_enc" to the bucket. Tweak & ok claudio@