Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dist/pf/net Commit the patch from
details: https://anonhg.NetBSD.org/src/rev/d2c8ce46a0b2
branches: trunk
changeset: 764906:d2c8ce46a0b2
user: hauke <hauke%NetBSD.org@localhost>
date: Wed May 11 12:22:34 2011 +0000
description:
Commit the patch from
<http://mail-index.netbsd.org/current-users/2010/09/12/msg014289.html>,
fixing a "panic: pool 'pfrktable' is IPL_NONE, but called from
interrupt context" that occurred on NetBSD/sparc.
diffstat:
sys/dist/pf/net/pf_table.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (30 lines):
diff -r 78a7bc7244b2 -r d2c8ce46a0b2 sys/dist/pf/net/pf_table.c
--- a/sys/dist/pf/net/pf_table.c Wed May 11 10:11:11 2011 +0000
+++ b/sys/dist/pf/net/pf_table.c Wed May 11 12:22:34 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pf_table.c,v 1.16 2010/04/12 13:57:38 ahoka Exp $ */
+/* $NetBSD: pf_table.c,v 1.17 2011/05/11 12:22:34 hauke Exp $ */
/* $OpenBSD: pf_table.c,v 1.70 2007/05/23 11:53:45 markus Exp $ */
/*
@@ -32,7 +32,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pf_table.c,v 1.16 2010/04/12 13:57:38 ahoka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pf_table.c,v 1.17 2011/05/11 12:22:34 hauke Exp $");
#ifdef _KERNEL_OPT
#include "opt_inet.h"
@@ -200,9 +200,9 @@
{
#ifdef __NetBSD__
pool_init(&pfr_ktable_pl, sizeof(struct pfr_ktable), 0, 0, 0,
- "pfrktable", &pool_allocator_nointr, IPL_NONE);
+ "pfrktable", &pool_allocator_nointr, IPL_NET);
pool_init(&pfr_kentry_pl, sizeof(struct pfr_kentry), 0, 0, 0,
- "pfrkentry", &pool_allocator_nointr, IPL_NONE);
+ "pfrkentry", &pool_allocator_nointr, IPL_NET);
pool_init(&pfr_kentry_pl2, sizeof(struct pfr_kentry), 0, 0, 0,
"pfrkentry2", NULL, IPL_SOFTNET);
#else
Home |
Main Index |
Thread Index |
Old Index