Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F144566571
D34185.1775489385.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
686 B
Referenced Files
None
Subscribers
None
D34185.1775489385.diff
View Options
diff --git a/sys/netgraph/ng_pppoe.c b/sys/netgraph/ng_pppoe.c
--- a/sys/netgraph/ng_pppoe.c
+++ b/sys/netgraph/ng_pppoe.c
@@ -2031,6 +2031,7 @@
log(LOG_NOTICE, "ng_pppoe[%x]: session out of "
"mbufs\n", node->nd_ID);
else {
+ struct epoch_tracker et;
struct pppoe_full_hdr *wh;
struct pppoe_tag *tag;
int msglen = strlen(SIGNOFF);
@@ -2061,8 +2062,11 @@
m->m_pkthdr.len = m->m_len = sizeof(*wh) + sizeof(*tag) +
msglen;
wh->ph.length = htons(sizeof(*tag) + msglen);
+
+ NET_EPOCH_ENTER(et);
NG_SEND_DATA_ONLY(error,
privp->ethernet_hook, m);
+ NET_EPOCH_EXIT(et);
}
}
if (sp->state == PPPOE_LISTENING)
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Apr 6, 3:29 PM (1 h, 16 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28278391
Default Alt Text
D34185.1775489385.diff (686 B)
Attached To
Mode
D34185: ng pppoe(4): Add the required NET_EPOCH section to the hook disconnection function.
Attached
Detach File
Event Timeline
Log In to Comment