aboutsummaryrefslogtreecommitdiff
path: root/sys/netgraph
diff options
context:
space:
mode:
authorPawel Jakub Dawidek <pjd@FreeBSD.org>2005-08-21 19:15:14 +0000
committerPawel Jakub Dawidek <pjd@FreeBSD.org>2005-08-21 19:15:14 +0000
commite5cd9375e473fcb2c3f3a68fbe9b4e9d89063762 (patch)
tree02128dc465bb907f5c4cf07f4ae44220dcfb364a /sys/netgraph
parent15da51f73cff7476652f711c85f7c1e96a309ebd (diff)
Notes
Diffstat (limited to 'sys/netgraph')
-rw-r--r--sys/netgraph/bluetooth/l2cap/ng_l2cap_misc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/netgraph/bluetooth/l2cap/ng_l2cap_misc.h b/sys/netgraph/bluetooth/l2cap/ng_l2cap_misc.h
index 46794974cd656..ad97107e04c2c 100644
--- a/sys/netgraph/bluetooth/l2cap/ng_l2cap_misc.h
+++ b/sys/netgraph/bluetooth/l2cap/ng_l2cap_misc.h
@@ -73,6 +73,7 @@ do { \
#define ng_l2cap_free_cmd(cmd) \
do { \
+ KASSERT(!callout_pending(&(cmd)->timo), ("Pending callout!")); \
NG_FREE_M((cmd)->aux); \
bzero((cmd), sizeof(*(cmd))); \
FREE((cmd), M_NETGRAPH_L2CAP); \