From owner-cvs-src@FreeBSD.ORG Fri Jun 10 17:23:50 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 3E2CF16A41C; Fri, 10 Jun 2005 17:23:50 +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 17CDA43D5D; Fri, 10 Jun 2005 17:23:50 +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 j5AHNnbm083252; Fri, 10 Jun 2005 17:23:49 GMT (envelope-from mlaier@repoman.freebsd.org) Received: (from mlaier@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j5AHNnjd083251; Fri, 10 Jun 2005 17:23:49 GMT (envelope-from mlaier) Message-Id: <200506101723.j5AHNnjd083251@repoman.freebsd.org> From: Max Laier Date: Fri, 10 Jun 2005 17:23:49 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/contrib/pf/net if_pfsync.c if_pfsync.h 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: Fri, 10 Jun 2005 17:23:50 -0000 mlaier 2005-06-10 17:23:49 UTC FreeBSD src repository Modified files: sys/contrib/pf/net if_pfsync.c if_pfsync.h Log: 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. In a second stage all callouts will be marked MPSAFE according to the setting of mpsafenet. Reported and tested by: Matthew Grooms MFC after: 3 days X-MFC after: Marking callouts MPSAFE + 1 week Revision Changes Path 1.17 +26 -7 src/sys/contrib/pf/net/if_pfsync.c 1.7 +4 -0 src/sys/contrib/pf/net/if_pfsync.h