Fix a small bug in xl_start(): when queuing a packet onto the end of
an existing chain, don't forget to move xl_tx_tail to point to the new tail end.
This commit is contained in:
parent
223f865ada
commit
7ceecbe4ef
@ -29,7 +29,7 @@
|
||||
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
|
||||
* THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
* $Id: if_xl.c,v 1.20 1998/12/10 16:18:42 wpaul Exp $
|
||||
* $Id: if_xl.c,v 1.21 1998/12/14 06:32:57 dillon Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
@ -147,7 +147,7 @@
|
||||
|
||||
#if !defined(lint)
|
||||
static const char rcsid[] =
|
||||
"$Id: if_xl.c,v 1.20 1998/12/10 16:18:42 wpaul Exp $";
|
||||
"$Id: if_xl.c,v 1.21 1998/12/14 06:32:57 dillon Exp $";
|
||||
#endif
|
||||
|
||||
/*
|
||||
@ -2286,6 +2286,7 @@ static void xl_start(ifp)
|
||||
vtophys(start_tx->xl_ptr);
|
||||
sc->xl_cdata.xl_tx_tail->xl_ptr->xl_status &=
|
||||
~XL_TXSTAT_DL_INTR;
|
||||
sc->xl_cdata.xl_tx_tail = cur_tx;
|
||||
} else {
|
||||
sc->xl_cdata.xl_tx_head = start_tx;
|
||||
sc->xl_cdata.xl_tx_tail = cur_tx;
|
||||
|
Loading…
x
Reference in New Issue
Block a user