From owner-svn-src-head@FreeBSD.ORG Wed Jun 1 12:05:35 2011 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8834A106566C; Wed, 1 Jun 2011 12:05:35 +0000 (UTC) (envelope-from ae@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 77EFC8FC13; Wed, 1 Jun 2011 12:05:35 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id p51C5ZfZ069336; Wed, 1 Jun 2011 12:05:35 GMT (envelope-from ae@svn.freebsd.org) Received: (from ae@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id p51C5ZCm069334; Wed, 1 Jun 2011 12:05:35 GMT (envelope-from ae@svn.freebsd.org) Message-Id: <201106011205.p51C5ZCm069334@svn.freebsd.org> From: "Andrey V. Elsukov" Date: Wed, 1 Jun 2011 12:05:35 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r222559 - head/sys/netinet/ipfw X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Jun 2011 12:05:35 -0000 Author: ae Date: Wed Jun 1 12:05:35 2011 New Revision: 222559 URL: http://svn.freebsd.org/changeset/base/222559 Log: Hide useless warning under debug macro. PR: kern/69963 MFC after: 1 week Modified: head/sys/netinet/ipfw/ip_fw_dynamic.c Modified: head/sys/netinet/ipfw/ip_fw_dynamic.c ============================================================================== --- head/sys/netinet/ipfw/ip_fw_dynamic.c Wed Jun 1 10:23:03 2011 (r222558) +++ head/sys/netinet/ipfw/ip_fw_dynamic.c Wed Jun 1 12:05:35 2011 (r222559) @@ -753,11 +753,12 @@ ipfw_install_state(struct ip_fw *rule, i q = lookup_dyn_rule_locked(&args->f_id, NULL, NULL); if (q != NULL) { /* should never occur */ + DEB( if (last_log != time_uptime) { last_log = time_uptime; printf("ipfw: %s: entry already present, done\n", __func__); - } + }) IPFW_DYN_UNLOCK(); return (0); }