From owner-cvs-src@FreeBSD.ORG Wed Jun 29 19:12:14 2005 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B892216A43A; Wed, 29 Jun 2005 19:12:14 +0000 (GMT) (envelope-from mlaier@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id A267F43D4C; Wed, 29 Jun 2005 19:12:14 +0000 (GMT) (envelope-from mlaier@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j5TJCEPj032751; Wed, 29 Jun 2005 19:12:14 GMT (envelope-from mlaier@repoman.freebsd.org) Received: (from mlaier@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j5TJCEZo032750; Wed, 29 Jun 2005 19:12:14 GMT (envelope-from mlaier) Message-Id: <200506291912.j5TJCEZo032750@repoman.freebsd.org> From: Max Laier Date: Wed, 29 Jun 2005 19:12:14 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_5 Cc: Subject: cvs commit: src/sys/contrib/pf/net if_pfsync.c if_pfsync.h pf_ioctl.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Jun 2005 19:12:15 -0000 mlaier 2005-06-29 19:12:14 UTC FreeBSD src repository Modified files: (Branch: RELENG_5) sys/contrib/pf/net if_pfsync.c if_pfsync.h pf_ioctl.c Log: MFC: pf_ioctl.c, 1.20 if_pfsync.h, 1.7 and if_pfsync.c, 1.16-1.19 Defer ip_output of pfsync updates to an independent callout thread instead of just dropping the lock around the ip_output call. This used to cause corrupted state tree walks for some call-paths. Mark pf callouts as NET_MPSAFE. Tested by: Sascha Luck, Matthew Grooms and pfsense.org (via Scott Ullrich) Revision Changes Path 1.11.2.3 +31 -16 src/sys/contrib/pf/net/if_pfsync.c 1.4.2.1 +6 -2 src/sys/contrib/pf/net/if_pfsync.h 1.12.2.6 +2 -7 src/sys/contrib/pf/net/pf_ioctl.c