mirror of
https://github.com/ipxe/ipxe
synced 2025-12-21 20:40:25 +03:00
Add missing call to free_iob().
This commit is contained in:
@@ -372,6 +372,7 @@ static int rtl_transmit ( struct net_device *netdev, struct io_buffer *iobuf ) {
|
|||||||
/* Check for space in TX ring */
|
/* Check for space in TX ring */
|
||||||
if ( rtl->tx.iobuf[rtl->tx.next] != NULL ) {
|
if ( rtl->tx.iobuf[rtl->tx.next] != NULL ) {
|
||||||
printf ( "TX overflow\n" );
|
printf ( "TX overflow\n" );
|
||||||
|
free_iob ( iobuf );
|
||||||
return -ENOBUFS;
|
return -ENOBUFS;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user