Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Oct 2011 10:05:25 +0000 (UTC)
From:      Gleb Smirnoff <glebius@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r226655 - head/sys/contrib/pf/net
Message-ID:  <201110231005.p9NA5PT6022369@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: glebius
Date: Sun Oct 23 10:05:25 2011
New Revision: 226655
URL: http://svn.freebsd.org/changeset/base/226655

Log:
  Correct flag for uma_zalloc() is M_WAITOK. M_WAIT is an old and
  deprecated flag from historical mbuf(9) allocator.
  
  This is style only change.

Modified:
  head/sys/contrib/pf/net/pfvar.h

Modified: head/sys/contrib/pf/net/pfvar.h
==============================================================================
--- head/sys/contrib/pf/net/pfvar.h	Sun Oct 23 09:08:42 2011	(r226654)
+++ head/sys/contrib/pf/net/pfvar.h	Sun Oct 23 10:05:25 2011	(r226655)
@@ -222,7 +222,7 @@ struct pfi_dynaddr {
 #define	PF_NAME		"pf"
 
 #define	PR_NOWAIT	M_NOWAIT
-#define	PR_WAITOK	M_WAIT
+#define	PR_WAITOK	M_WAITOK
 #define	PR_ZERO		M_ZERO
 #define	pool_get(p, f)	uma_zalloc(*(p), (f))
 #define	pool_put(p, o)	uma_zfree(*(p), (o))



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