summaryrefslogtreecommitdiff
path: root/sys/dev/pci/if_iwi.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/pci/if_iwi.c')
-rw-r--r--sys/dev/pci/if_iwi.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/pci/if_iwi.c b/sys/dev/pci/if_iwi.c
index c3836540fb3..3dd96512a6e 100644
--- a/sys/dev/pci/if_iwi.c
+++ b/sys/dev/pci/if_iwi.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_iwi.c,v 1.53 2005/11/23 21:04:40 damien Exp $ */
+/* $OpenBSD: if_iwi.c,v 1.54 2005/11/23 21:08:46 damien Exp $ */
/*-
* Copyright (c) 2004, 2005
@@ -790,6 +790,7 @@ iwi_frame_intr(struct iwi_softc *sc, struct iwi_rx_buf *buf, int i,
MCLGET(mnew, M_DONTWAIT);
if (!(mnew->m_flags & M_EXT)) {
+ m_freem(mnew);
ifp->if_ierrors++;
return;
}