From owner-freebsd-net@FreeBSD.ORG Fri May 8 02:16:59 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 09F8C106564A for ; Fri, 8 May 2009 02:16:59 +0000 (UTC) (envelope-from sam@ip6.com.au) Received: from mail01.ip6.com.au (ns1.ip6.com.au [125.255.112.202]) by mx1.freebsd.org (Postfix) with ESMTP id C1ECA8FC08 for ; Fri, 8 May 2009 02:16:58 +0000 (UTC) (envelope-from sam@ip6.com.au) Received: from mail01.ip6.com.au (localhost [127.0.0.1]) by mail01.ip6.com.au (Postfix) with ESMTP id 5A7F428804 for ; Fri, 8 May 2009 12:16:48 +1000 (EST) Received: from secure.ip6.com.au (localhost [127.0.0.1]) by mail01.ip6.com.au (Postfix) with ESMTP id 1887D287FD for ; Fri, 8 May 2009 12:16:48 +1000 (EST) Received: from 220.233.42.226 (SquirrelMail authenticated user sam) by secure.ip6.com.au with HTTP; Fri, 8 May 2009 12:16:48 +1000 (EST) Message-ID: <15484.220.233.42.226.1241749008.squirrel@secure.ip6.com.au> Date: Fri, 8 May 2009 12:16:48 +1000 (EST) From: "Sam Wan" To: freebsd-net@freebsd.org User-Agent: SquirrelMail/1.4.10a MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Virus-Scanned: ClamAV using ClamSMTP Subject: nf_sockopt_init in uipc_socket.c X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 May 2009 02:16:59 -0000 Hi, With 7.2, is ok to add the following function to the uipc_socket.c file? void nf_sockopt_init(void) { LIST_INIT(&nf_sockopts); mtx_init(&nf_sockopt_mutex,"linux netfilter lock",NULL,MTX_DEF); } Thanks