ok?
Index: netinet/in_pcb.c
===================================================================
RCS file: /cvs/src/sys/netinet/in_pcb.c,v
retrieving revision 1.185
diff -u -p -r1.185 in_pcb.c
--- netinet/in_pcb.c 20 Oct 2015 18:04:03 -0000 1.185
+++ netinet/in_pcb.c 23 Oct 2015 12:42:18 -0000
@@ -858,7 +858,7 @@ in_selectsrc(struct in_addr **insrc, str
rtfree(ro->ro_rt);
ro->ro_rt = NULL;
}
- if ((ro->ro_rt == NULL || ro->ro_rt->rt_ifp == NULL)) {
+ if ((ro->ro_rt == NULL)) {
/* No route yet, so try to acquire one */
ro->ro_dst.sa_family = AF_INET;
ro->ro_dst.sa_len = sizeof(struct sockaddr_in);
@@ -877,7 +877,7 @@ in_selectsrc(struct in_addr **insrc, str
* If we found a route, use the address
* corresponding to the outgoing interface.
*/
- if (ro->ro_rt && ro->ro_rt->rt_ifp)
+ if (ro->ro_rt != NULL)
ia = ifatoia(ro->ro_rt->rt_ifa);
if (ia == NULL)