If an ifa has as NULL ifp pointer then is should be considered as
authormpi <mpi@openbsd.org>
Thu, 21 Aug 2014 10:07:07 +0000 (10:07 +0000)
committermpi <mpi@openbsd.org>
Thu, 21 Aug 2014 10:07:07 +0000 (10:07 +0000)
commit0c4b27b8e5679d494df4479a49d6035d3d36d94f
tree2d0ee5d6fa22c8b4e60d9f5c2c1d93a322a47aa1
parentfb7d3909b5705a417482ebbcd57b382a50db635e
If an ifa has as NULL ifp pointer then is should be considered as
invalid.  When such thing happens, it means that the address is no
longer configured on the system but still referenced by some routes.
So do not return such ifa in ifa_ifwithroute().

Fix a panic reported by Pierre Bardou.

ok mikeb@, henning@
sys/net/route.c