FreeBSD Bugzilla – Attachment 202047 Details for
Bug 235700
oce(4) driver causes fatal trap 12 on boot with emulex 10gbe nic
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix panic in OCE
file_235700.txt (text/plain), 617 bytes, created by
Ryan Moeller
on 2019-02-15 18:43:29 UTC
(
hide
)
Description:
Fix panic in OCE
Filename:
MIME Type:
Creator:
Ryan Moeller
Created:
2019-02-15 18:43:29 UTC
Size:
617 bytes
patch
obsolete
>diff --git a/sys/dev/oce/oce_if.c b/sys/dev/oce/oce_if.c >index 0b7aa4da237..abcd7a9a844 100644 >--- a/sys/dev/oce/oce_if.c >+++ b/sys/dev/oce/oce_if.c >@@ -2361,9 +2361,9 @@ oce_eqd_set_periodic(POCE_SOFTC sc) > } > > rq = sc->rq[i]; >- rxpkts = rq->rx_stats.rx_pkts; >+ rxpkts = (rq != NULL) ? rq->rx_stats.rx_pkts : 0; > wq = sc->wq[i]; >- tx_reqs = wq->tx_stats.tx_reqs; >+ tx_reqs = (wq != NULL) ? wq->tx_stats.tx_reqs : 0; > now = ticks; > > if (!aic->ticks || now < aic->ticks ||
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 235700
:
201962
|
202047
|
202296