mirror of https://github.com/ipxe/ipxe.git
Merge branch 'master' into mcb-tcp-xfer
commit
77e575235d
|
@ -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