summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2016-08-24 10:38:35 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2016-08-24 10:38:35 +0000
commitf2af420bab206415820fe965a32fc7b0c8970fdf (patch)
treef358064e694fb6df56fe4b4c6fb774119e88982e
parentd2c8a3df2a60c97074e06db43213a39d9d97355c (diff)
pool_setipl for oce(4)
ok mikeb@
-rw-r--r--sys/dev/pci/if_oce.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/pci/if_oce.c b/sys/dev/pci/if_oce.c
index 4208fc9b4f3..e38de1b7de0 100644
--- a/sys/dev/pci/if_oce.c
+++ b/sys/dev/pci/if_oce.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_oce.c,v 1.95 2016/04/13 10:34:32 mpi Exp $ */
+/* $OpenBSD: if_oce.c,v 1.96 2016/08/24 10:38:34 dlg Exp $ */
/*
* Copyright (c) 2012 Mike Belopuhov
@@ -588,6 +588,7 @@ oce_attach(struct device *parent, struct device *self, void *aux)
}
pool_init(oce_pkt_pool, sizeof(struct oce_pkt), 0, 0, 0,
"ocepkts", NULL);
+ pool_setipl(oce_pkt_pool, IPL_NET);
}
/* We allocate a single interrupt resource */