mirror of https://github.com/ipxe/ipxe.git
Add missing call to free_iob().
parent
adf6c8e2a6
commit
0316eaf85d
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue