Date: Mon, 22 Jun 2009 09:24:46 +0000 (UTC) From: "Bjoern A. Zeeb" <bz@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r194616 - head/sys/netinet Message-ID: <200906220924.n5M9Ok2g033002@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bz Date: Mon Jun 22 09:24:46 2009 New Revision: 194616 URL: http://svn.freebsd.org/changeset/base/194616 Log: 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 Modified: head/sys/netinet/in_pcb.c Modified: head/sys/netinet/in_pcb.c ============================================================================== --- head/sys/netinet/in_pcb.c Mon Jun 22 08:09:35 2009 (r194615) +++ head/sys/netinet/in_pcb.c Mon Jun 22 09:24:46 2009 (r194616) @@ -705,10 +705,6 @@ in_pcbladdr(struct inpcb *inp, struct in 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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200906220924.n5M9Ok2g033002>