diff options
Diffstat (limited to 'sys/pci/if_de.c')
-rw-r--r-- | sys/pci/if_de.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/pci/if_de.c b/sys/pci/if_de.c index 7a0eee7..756bef0 100644 --- a/sys/pci/if_de.c +++ b/sys/pci/if_de.c @@ -21,7 +21,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: if_de.c,v 1.27 1995/05/26 02:02:44 davidg Exp $ + * $Id: if_de.c,v 1.28.2.1 1995/06/02 10:44:24 davidg Exp $ * */ @@ -916,7 +916,7 @@ tulip_start( addr += slen; clsize = CLBYTES; } - } while ((m0 = m0->m_next) != NULL); + } while ((m0 != NULL) && ((m0 = m0->m_next) != NULL)); /* * The packet exceeds the number of transmit buffer |