From: dlg Date: Wed, 24 Aug 2016 10:38:34 +0000 (+0000) Subject: pool_setipl for oce(4) X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=f19e32858403d5ab6618903acb46d2791476b385;p=openbsd pool_setipl for oce(4) ok mikeb@ --- 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 */