summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Brown2014-12-10 00:49:11 +0100
committerMichael Brown2014-12-12 11:18:03 +0100
commit14722c27d691911188f767af628f4933ca584596 (patch)
tree5b8b0412fef30d3e933d106a88b9eabe7531c0b4
parent[vmxnet3] Add profiling code to exclude time spent in the hypervisor (diff)
downloadipxe-14722c27d691911188f767af628f4933ca584596.tar.gz
ipxe-14722c27d691911188f767af628f4933ca584596.tar.xz
ipxe-14722c27d691911188f767af628f4933ca584596.zip
[netdevice] Fix erroneous use of free(iobuf) instead of free_iob(iobuf)
Signed-off-by: Michael Brown <mcb30@ipxe.org>
-rw-r--r--src/net/netdevice.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/netdevice.c b/src/net/netdevice.c
index a8020858e..a55e6b7d7 100644
--- a/src/net/netdevice.c
+++ b/src/net/netdevice.c
@@ -1080,7 +1080,7 @@ static unsigned int net_discard ( void ) {
/* Discard first deferred packet */
list_del ( &iobuf->list );
- free ( iobuf );
+ free_iob ( iobuf );
/* Report discard */
discarded++;