summaryrefslogtreecommitdiffstats
path: root/sys/netinet/in_pcb.c
diff options
context:
space:
mode:
authorbz <bz@FreeBSD.org>2009-06-22 09:24:46 +0000
committerbz <bz@FreeBSD.org>2009-06-22 09:24:46 +0000
commit71e36df28b389b464418ca17444d125311b94225 (patch)
treeba03b6a72b892967fbba73f9c8d4f065b3bf2796 /sys/netinet/in_pcb.c
parent4dc742f489b3b14470cc448c4407a947ead5de0e (diff)
downloadFreeBSD-src-71e36df28b389b464418ca17444d125311b94225.zip
FreeBSD-src-71e36df28b389b464418ca17444d125311b94225.tar.gz
Remove a hack from r186086 so that IPsec via loopback routes continued
working. It was targeted for stable/7 compatibility and actually never did anything in HEAD. Reminded by: rwatson X-MFC after: never
Diffstat (limited to 'sys/netinet/in_pcb.c')
-rw-r--r--sys/netinet/in_pcb.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/netinet/in_pcb.c b/sys/netinet/in_pcb.c
index a0d6f6d..252c7fb 100644
--- a/sys/netinet/in_pcb.c
+++ b/sys/netinet/in_pcb.c
@@ -705,10 +705,6 @@ in_pcbladdr(struct inpcb *inp, struct in_addr *faddr, struct in_addr *laddr,
ia = ifatoia(ifa_ifwithnet(sintosa(&sain)));
if (cred == NULL || !prison_flag(cred, PR_IP4)) {
-#if __FreeBSD_version < 800000
- if (ia == NULL)
- ia = (struct in_ifaddr *)sro.ro_rt->rt_ifa;
-#endif
if (ia == NULL) {
error = ENETUNREACH;
goto done;
OpenPOWER on IntegriCloud