diff options
Diffstat (limited to 'sys/netatm/atm_device.c')
-rw-r--r-- | sys/netatm/atm_device.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/netatm/atm_device.c b/sys/netatm/atm_device.c index e458bf4..ecca8ad 100644 --- a/sys/netatm/atm_device.c +++ b/sys/netatm/atm_device.c @@ -314,6 +314,7 @@ atm_dev_lower(cmd, tok, arg1, arg2) * Free any buffers from this VCC on the ATM interrupt queue */ prev = NULL; + IF_LOCK(&atm_intrq); for (m = atm_intrq.ifq_head; m; m = next) { next = KB_QNEXT(m); @@ -344,6 +345,7 @@ atm_dev_lower(cmd, tok, arg1, arg2) prev = m; } } + IF_UNLOCK(&atm_intrq); (void) splx(s); /* |