david/ipxe
david
/
ipxe
Archived
1
0
Fork 0

Add missing call to free_iob().

This commit is contained in:
Michael Brown 2007-06-10 18:33:42 +01:00
parent adf6c8e2a6
commit 0316eaf85d
1 changed files with 1 additions and 0 deletions

View File

@ -372,6 +372,7 @@ static int rtl_transmit ( struct net_device *netdev, struct io_buffer *iobuf ) {
/* Check for space in TX ring */
if ( rtl->tx.iobuf[rtl->tx.next] != NULL ) {
printf ( "TX overflow\n" );
free_iob ( iobuf );
return -ENOBUFS;
}