Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 May 2009 16:27:45 +0000 (UTC)
From:      Alexander Kabaev <kan@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r191828 - head/sys/netinet6
Message-ID:  <200905051627.n45GRjxC086879@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kan
Date: Tue May  5 16:27:45 2009
New Revision: 191828
URL: http://svn.freebsd.org/changeset/base/191828

Log:
  Silence unsolicited spam printed out when KTR_MLD happens to be
  in KTR_COMPILE mask. Compiling KTR trace points in does not necessarily
  mean enabling them, use proper check against ktr_mask instead.

Modified:
  head/sys/netinet6/in6_mcast.c

Modified: head/sys/netinet6/in6_mcast.c
==============================================================================
--- head/sys/netinet6/in6_mcast.c	Tue May  5 16:26:06 2009	(r191827)
+++ head/sys/netinet6/in6_mcast.c	Tue May  5 16:27:45 2009	(r191828)
@@ -2691,7 +2691,7 @@ in6m_print(const struct in6_multi *inm)
 	int t;
 	char ip6tbuf[INET6_ADDRSTRLEN];
 
-	if ((KTR_COMPILE & KTR_MLD) == 0)
+	if ((ktr_mask & KTR_MLD) == 0)
 		return;
 
 	printf("%s: --- begin in6m %p ---\n", __func__, inm);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200905051627.n45GRjxC086879>