On 25/08/14 17:11, Mike Belopuhov wrote:

can you please try this diff

diff --git sys/dev/pci/if_em.c sys/dev/pci/if_em.c
index d6d7e8e..42fb3c4 100644
--- sys/dev/pci/if_em.c
+++ sys/dev/pci/if_em.c
@@ -2822,14 +2822,14 @@ em_rxfill(struct em_softc *sc)
                        i = 0;

                if (em_get_buf(sc, i) != 0)
                        break;

+               sc->last_rx_desc_filled = i;
                post = 1;
        }

-       sc->last_rx_desc_filled = i;
        if_rxr_put(&sc->rx_ring, slots);

        return (post);
  }


I've upgraded today to latest snapshot which now include this diff[1], and I will report back any new kernel panic.


--
[1]http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sys/dev/pci/if_em.c.diff?r1=1.287&r2=1.288

--
Laurent Salle

Reply via email to