unified MX27, MX25, MX37 trees
[karo-tx-redboot.git] / packages / io / eth / v2_0 / src / net / eth_drv.c
index d6c36dc..4988abe 100644 (file)
@@ -703,7 +703,7 @@ eth_drv_send(struct ifnet *ifp)
                 END_CONSOLE();
             }
 #endif
-            if ( MAX_ETH_DRV_SG < sg_len ) {
+            if (m->m_next && (MAX_ETH_DRV_SG <= sg_len)) {
 #ifdef CYGPKG_IO_ETH_DRIVERS_WARN_NO_MBUFS
                 int needed = 0;
                 struct mbuf *m1;