mirror of
https://github.com/xcat2/xNBA.git
synced 2024-11-22 17:41:55 +00:00
Add missing call to free_iob().
This commit is contained in:
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 */
|
||||
if ( rtl->tx.iobuf[rtl->tx.next] != NULL ) {
|
||||
printf ( "TX overflow\n" );
|
||||
free_iob ( iobuf );
|
||||
return -ENOBUFS;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user