From owner-freebsd-net@FreeBSD.ORG Thu May 20 14:27:15 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 455B316A4CE for ; Thu, 20 May 2004 14:27:15 -0700 (PDT) Received: from mail.sandvine.com (sandvine.com [199.243.201.138]) by mx1.FreeBSD.org (Postfix) with ESMTP id CBBE043D31 for ; Thu, 20 May 2004 14:27:14 -0700 (PDT) (envelope-from ddenissov@sandvine.com) Received: by mail.sandvine.com with Internet Mail Service (5.5.2657.72) id ; Thu, 20 May 2004 13:38:12 -0400 Message-ID: From: Dmitri Denissov To: freebsd-net@freebsd.org Date: Thu, 20 May 2004 13:38:11 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: text/plain; charset="iso-8859-1" Subject: protecting netgraph calls from outside of the network context X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 May 2004 21:27:15 -0000 Hi, Currently netgraph code uses splnet/splx to protect timeout calls. This doesn't work with 5.2 SMP kernel. What is the proper method here for a custom netgraph node? Is the Giant lock only the way? Thanks -- Dmitri