]> git.kernelconcepts.de Git - karo-tx-redboot.git/blobdiff - packages/io/eth/v2_0/src/net/eth_drv.c
unified MX27, MX25, MX37 trees
[karo-tx-redboot.git] / packages / io / eth / v2_0 / src / net / eth_drv.c
index d6c36dc5c5392b4e7c518832ef2e83f12c7b7656..4988abe36e2cd81e1e0cb3194a2bf58a7e6c648e 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;