Browse Source

Add missing call to free_iob().

tags/v0.9.3
Michael Brown 17 years ago
parent
commit
0316eaf85d
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      src/drivers/net/rtl8139.c

+ 1
- 0
src/drivers/net/rtl8139.c View File

372
 	/* Check for space in TX ring */
372
 	/* Check for space in TX ring */
373
 	if ( rtl->tx.iobuf[rtl->tx.next] != NULL ) {
373
 	if ( rtl->tx.iobuf[rtl->tx.next] != NULL ) {
374
 		printf ( "TX overflow\n" );
374
 		printf ( "TX overflow\n" );
375
+		free_iob ( iobuf );
375
 		return -ENOBUFS;
376
 		return -ENOBUFS;
376
 	}
377
 	}
377
 
378
 

Loading…
Cancel
Save