Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F144442296
D51885.id161866.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
511 B
Referenced Files
None
Subscribers
None
D51885.id161866.diff
View Options
diff --git a/sys/dev/re/if_re.c b/sys/dev/re/if_re.c
--- a/sys/dev/re/if_re.c
+++ b/sys/dev/re/if_re.c
@@ -3558,6 +3558,7 @@
static void
re_watchdog(struct rl_softc *sc)
{
+ struct epoch_tracker et;
if_t ifp;
RL_LOCK_ASSERT(sc);
@@ -3578,7 +3579,9 @@
if_printf(ifp, "watchdog timeout\n");
if_inc_counter(ifp, IFCOUNTER_OERRORS, 1);
+ NET_EPOCH_ENTER(et);
re_rxeof(sc, NULL);
+ NET_EPOCH_EXIT(et);
if_setdrvflagbits(ifp, 0, IFF_DRV_RUNNING);
re_init_locked(sc);
if (!if_sendq_empty(ifp))
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Feb 9, 11:26 AM (12 h, 25 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28473362
Default Alt Text
D51885.id161866.diff (511 B)
Attached To
Mode
D51885: re: Make sure re_rxeof() is called in net epoch context
Attached
Detach File
Event Timeline
Log In to Comment