Hi, i'm likely responsible, for having sent the diff that introduced this. minimal fix taken w/diff -U10, to show the obvious dup++.
-Artturi diff --git a/sys/arch/armv7/sunxi/sxie.c b/sys/arch/armv7/sunxi/sxie.c index 1cd713cd52a..cb5849c7dc9 100644 --- a/sys/arch/armv7/sunxi/sxie.c +++ b/sys/arch/armv7/sunxi/sxie.c @@ -613,21 +613,20 @@ trynext: /* read the actual packet from fifo XXX through 'align buffer'.. */ if (pktlen & 3) rlen = SXIE_ROUNDUP(pktlen, 4); else rlen = pktlen; bus_space_read_multi_4(sc->sc_iot, sc->sc_ioh, SXIE_RXIO, (uint32_t *)&rxbuf[0], rlen >> 2); m = m_devget(&rxbuf[0], pktlen, ETHER_ALIGN); if (m == NULL) { - ifp->if_ierrors++; goto err_out; } ml_enqueue(&ml, m); goto trynext; err_out: ifp->if_ierrors++; done: if_input(ifp, &ml); }