summaryrefslogtreecommitdiffstats
path: root/sys/dev/idt/idt_harp.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/idt/idt_harp.c')
-rw-r--r--sys/dev/idt/idt_harp.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/idt/idt_harp.c b/sys/dev/idt/idt_harp.c
index 3a2f27b..61cbdf9 100644
--- a/sys/dev/idt/idt_harp.c
+++ b/sys/dev/idt/idt_harp.c
@@ -762,6 +762,5 @@ idt_receive(nicstar_reg_t * idt, struct mbuf * m, int vpi, int vci)
/*
* Schedule callback
*/
- if (! netisr_queue(NETISR_ATM, m))
- KB_FREEALL(m);
+ netisr_queue(NETISR_ATM, m); /* mbuf is free'd on failure. */
}
OpenPOWER on IntegriCloud