projects
/
dragonfly.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
d388115
)
kernel/netgraph: Add a missing lwkt_reltoken().
author
Sascha Wildner <saw@online.de>
Sun, 1 Jan 2012 01:02:26 +0000 (
02:02
+0100)
committer
Sascha Wildner <saw@online.de>
Sun, 1 Jan 2012 01:02:26 +0000 (
02:02
+0100)
sys/netgraph/tty/ng_tty.c
patch
|
blob
|
blame
|
history
diff --git
a/sys/netgraph/tty/ng_tty.c
b/sys/netgraph/tty/ng_tty.c
index
5b18de5
..
681ec0f
100644
(file)
--- a/
sys/netgraph/tty/ng_tty.c
+++ b/
sys/netgraph/tty/ng_tty.c
@@
-675,6
+675,7
@@
ngt_mod_event(module_t mod, int event, void *data)
crit_exit();
log(LOG_ERR, "%s: can't register line discipline",
__func__);
+ lwkt_reltoken(&tty_token);
return (EIO);
}
crit_exit();