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:
Bill Paul 1998-12-24 17:50:34 +00:00
parent 223f865ada
commit 7ceecbe4ef
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=42046

View file

@ -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;