Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Jan 2006 18:00:11 GMT
From:      Robert Watson <rwatson@FreeBSD.org>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: kern/86427: LOR / Deadlock with FASTIPSEC and nat
Message-ID:  <200601131800.k0DI0BSp099348@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/86427; it has been noted by GNATS.

From: Robert Watson <rwatson@FreeBSD.org>
To: Robert Huff <roberthuff@rcn.com>
Cc: bug-followup@FreeBSD.org
Subject: Re: kern/86427: LOR / Deadlock with FASTIPSEC and nat
Date: Fri, 13 Jan 2006 17:52:39 +0000 (GMT)

 On Fri, 13 Jan 2006, Robert Huff wrote:
 
 > The following reply was made to PR kern/86427; it has been noted by GNATS.
 >
 > From: Robert Huff <roberthuff@rcn.com>
 > To: bug-followup@FreeBSD.org,  mike@sentex.net
 > Cc:
 > Subject: Re: kern/86427: LOR / Deadlock with FASTIPSEC and nat
 > Date: Thu, 12 Jan 2006 20:23:11 -0500
 >
 > 	I'm getting what seems to be either the same problem or its fraternal
 > twin ... only without either IPSEC (any flavor) or any vpn.
 > 	Running
 
 This may in part be due to a bug in IP divert sockets, resulting in recursion 
 in the network stack.  The attached untested patch may help, or at least, 
 eliminate part of the problem.  This hasn't yet been committed because I've 
 had trouble finding someone to test it.
 
 Index: ip_divert.c
 ===================================================================
 RCS file: /home/ncvs/src/sys/netinet/ip_divert.c,v
 retrieving revision 1.113
 diff -u -r1.113 ip_divert.c
 --- ip_divert.c	13 May 2005 11:44:37 -0000	1.113
 +++ ip_divert.c	13 Nov 2005 19:27:32 -0000
 @@ -61,6 +61,7 @@
   #include <vm/uma.h>
 
   #include <net/if.h>
 +#include <net/netisr.h>
   #include <net/route.h>
 
   #include <netinet/in.h>
 @@ -378,7 +379,7 @@
   		SOCK_UNLOCK(so);
   #endif
   		/* Send packet to input processing */
 -		ip_input(m);
 +		netisr_queue(NETISR_IP, m);
   	}
 
   	return error;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200601131800.k0DI0BSp099348>