Date: Wed, 8 Jun 2011 04:54:22 +0000 (UTC) From: "Andrey V. Elsukov" <ae@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org Subject: svn commit: r222850 - stable/7/sys/netinet Message-ID: <201106080454.p584sMen015244@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ae Date: Wed Jun 8 04:54:22 2011 New Revision: 222850 URL: http://svn.freebsd.org/changeset/base/222850 Log: MFC r222559: Hide useless warning under debug macro. PR: kern/69963, kern/139226 This is direct commit to stable/7. Modified: stable/7/sys/netinet/ip_fw2.c Directory Properties: stable/7/sys/ (props changed) stable/7/sys/cddl/contrib/opensolaris/ (props changed) stable/7/sys/contrib/dev/acpica/ (props changed) stable/7/sys/contrib/pf/ (props changed) Modified: stable/7/sys/netinet/ip_fw2.c ============================================================================== --- stable/7/sys/netinet/ip_fw2.c Wed Jun 8 04:50:23 2011 (r222849) +++ stable/7/sys/netinet/ip_fw2.c Wed Jun 8 04:54:22 2011 (r222850) @@ -1460,11 +1460,12 @@ install_state(struct ip_fw *rule, ipfw_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); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201106080454.p584sMen015244>