svn commit: r194616 - head/sys/netinet

Bjoern A. Zeeb bz at FreeBSD.org
Mon Jun 22 09:24:47 UTC 2009


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;


More information about the svn-src-all mailing list