Correctly update the tail pointer of the transmit queue in tl_start()
(one-liner). I have yet to actually encounter any problems due to this bug, but why take chances.
This commit is contained in:
parent
acb3c15910
commit
3aff6980c6
@ -29,7 +29,7 @@
|
|||||||
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
|
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
|
||||||
* THE POSSIBILITY OF SUCH DAMAGE.
|
* THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
*
|
*
|
||||||
* $Id: if_tl.c,v 1.16 1998/09/24 17:14:23 wpaul Exp $
|
* $Id: if_tl.c,v 1.17 1998/10/04 18:47:38 wpaul Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -218,7 +218,7 @@
|
|||||||
|
|
||||||
#ifndef lint
|
#ifndef lint
|
||||||
static char rcsid[] =
|
static char rcsid[] =
|
||||||
"$Id: if_tl.c,v 1.16 1998/09/24 17:14:23 wpaul Exp $";
|
"$Id: if_tl.c,v 1.17 1998/10/04 18:47:38 wpaul Exp $";
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef TL_DEBUG
|
#ifdef TL_DEBUG
|
||||||
@ -2469,6 +2469,7 @@ static void tl_start(ifp)
|
|||||||
evset(sc, EV_START_Q);
|
evset(sc, EV_START_Q);
|
||||||
#endif
|
#endif
|
||||||
sc->tl_cdata.tl_tx_tail->tl_next = start_tx;
|
sc->tl_cdata.tl_tx_tail->tl_next = start_tx;
|
||||||
|
sc->tl_cdata.tl_tx_tail = start_tx;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user