FreeBSD Bugzilla – Attachment 153780 Details for
Bug 197535
[re] [panic] if_re (Realtek 8168) causes memory write after free and kernel panic
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch solving the issue using this hardware
re8168g.patch (text/plain), 665 bytes, created by
luca.pizzamiglio
on 2015-03-04 15:14:01 UTC
(
hide
)
Description:
patch solving the issue using this hardware
Filename:
MIME Type:
Creator:
luca.pizzamiglio
Created:
2015-03-04 15:14:01 UTC
Size:
665 bytes
patch
obsolete
>Index: sys/dev/re/if_re.c >=================================================================== >--- sys/dev/re/if_re.c (revision 4723) >+++ sys/dev/re/if_re.c (working copy) >@@ -3197,7 +3197,7 @@ > /* > * Enable transmit and receive. > */ >- CSR_WRITE_1(sc, RL_COMMAND, RL_CMD_TX_ENB|RL_CMD_RX_ENB); >+ //CSR_WRITE_1(sc, RL_COMMAND, RL_CMD_TX_ENB|RL_CMD_RX_ENB); > > /* > * Set the initial TX configuration. >@@ -3219,6 +3219,11 @@ > */ > re_set_rxmode(sc); > >+ /* >+ * Enable transmit and receive. >+ */ >+ CSR_WRITE_1(sc, RL_COMMAND, RL_CMD_TX_ENB|RL_CMD_RX_ENB); >+ > /* Configure interrupt moderation. */ > if (sc->rl_type == RL_8169) { > /* Magic from vendor. */
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 197535
:
152865
|
152866
|
152990
| 153780