diff options
author | Mike Pechkin <mpech@cvs.openbsd.org> | 2002-11-12 15:38:37 +0000 |
---|---|---|
committer | Mike Pechkin <mpech@cvs.openbsd.org> | 2002-11-12 15:38:37 +0000 |
commit | ead32ea815d32ff71905f9adcc2b462207ba9409 (patch) | |
tree | b0302ba5f194386d48ce3463cc25623affc8858c /sys/net | |
parent | b7bdb29b454847108b4f6f6a0ab61e9a668f87aa (diff) |
Missing splx.
dhartmei@ ok
Diffstat (limited to 'sys/net')
-rw-r--r-- | sys/net/pf_ioctl.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/net/pf_ioctl.c b/sys/net/pf_ioctl.c index c72e58de778..68580e5c02b 100644 --- a/sys/net/pf_ioctl.c +++ b/sys/net/pf_ioctl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pf_ioctl.c,v 1.15 2002/11/07 22:24:46 dhartmei Exp $ */ +/* $OpenBSD: pf_ioctl.c,v 1.16 2002/11/12 15:38:36 mpech Exp $ */ /* * Copyright (c) 2001 Daniel Hartmeier @@ -1816,8 +1816,10 @@ pfioctl(dev_t dev, u_long cmd, caddr_t addr, int flags, struct proc *p) if (altq->qname[0] == 0) { /* attach the discipline */ error = altq_pfattach(altq); - if (error) + if (error) { + splx(s); goto fail; + } } } |